diff options
author | Andrew Cady <d@jerkface.net> | 2023-06-01 18:11:20 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2023-06-01 18:11:20 -0400 |
commit | cc171c3917d410d4ca95bf305a9f247378fdbb2f (patch) | |
tree | 8a0c9ec63e40de9072a3a70edfd40e838fda8c3d /Makefile | |
parent | 513765b244d5de1f54edbf4ba6be79c5933cfa3f (diff) |
automatic apache configuration of fossil reverse proxy for virtual host of local hostname
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | systemctl_start_units = fossil-user.socket | 1 | systemctl_start_units = fossil-user.socket fossil-enable-apache@-.service |
2 | systemctl_user_start_units = fossil-httpd.socket | 2 | systemctl_user_start_units = fossil-httpd.socket |
3 | 3 | ||
4 | ifneq (0,$(shell id -u)) | 4 | ifneq (0,$(shell id -u)) |
@@ -56,6 +56,7 @@ SSH_USERNAME != if [ "$$SUDO_USER" ]; then echo "$$SUDO_USER"; else id -u; fi | |||
56 | default: install start follow | 56 | default: install start follow |
57 | install: | 57 | install: |
58 | install -t "$(bindir)" -- $(executables) | 58 | install -t "$(bindir)" -- $(executables) |
59 | install -m644 -t /etc/apache2/sites-available -- src/fossil.conf~template | ||
59 | install -t /etc/ssh/ -- src/AuthorizedKeysCommand | 60 | install -t /etc/ssh/ -- src/AuthorizedKeysCommand |
60 | install -T -- src/AnonymousForceCommand /etc/ssh/user-"$(SSH_USERNAME)".AnonymousForceCommand | 61 | install -T -- src/AnonymousForceCommand /etc/ssh/user-"$(SSH_USERNAME)".AnonymousForceCommand |
61 | install -m644 -t /etc/ssh/sshd_config.d -- src/fossil-user.conf | 62 | install -m644 -t /etc/ssh/sshd_config.d -- src/fossil-user.conf |