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 /src/fossil-disable-apache@.service | |
parent | 513765b244d5de1f54edbf4ba6be79c5933cfa3f (diff) |
automatic apache configuration of fossil reverse proxy for virtual host of local hostname
Diffstat (limited to 'src/fossil-disable-apache@.service')
-rw-r--r-- | src/fossil-disable-apache@.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/fossil-disable-apache@.service b/src/fossil-disable-apache@.service new file mode 100644 index 0000000..4d763e0 --- /dev/null +++ b/src/fossil-disable-apache@.service | |||
@@ -0,0 +1,9 @@ | |||
1 | [Unit] | ||
2 | Description = Disable and clean up apache site | ||
3 | |||
4 | [Service] | ||
5 | Type = oneshot | ||
6 | ExecStart = sh -xc 'rm -f \ | ||
7 | /etc/apache2/sites-available/fossil-%H.conf \ | ||
8 | /etc/apache2/sites-enabled/fossil-%H.conf' | ||
9 | ExecStart = systemctl reload apache2 | ||