summaryrefslogtreecommitdiff
path: root/src/fossil-disable-apache@.service
blob: 4d763e0d28529e2df12ca81a3b22f0095e5f4ba8 (plain)
1
2
3
4
5
6
7
8
9
[Unit]
Description = Disable and clean up apache site

[Service]
Type = oneshot
ExecStart = sh -xc 'rm -f \
/etc/apache2/sites-available/fossil-%H.conf \
/etc/apache2/sites-enabled/fossil-%H.conf'
ExecStart = systemctl reload apache2