Files
angie/angie.service
T

23 lines
651 B
Desktop File

[Unit]
Description=The Angie HTTP and reverse proxy server
After=network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target
[Service]
Type=forking
PIDFile=/run/angie.pid
# Angie will fail to start if /run/angie.pid already exists but has the wrong
# SELinux context. This might happen when running `angie -t` from the cmdline.
# https://bugzilla.redhat.com/show_bug.cgi?id=1268621
ExecStartPre=/usr/bin/rm -f /run/angie.pid
ExecStartPre=/usr/sbin/angie -t
ExecStart=/usr/sbin/angie
ExecReload=/usr/sbin/angie -s reload
KillSignal=SIGQUIT
TimeoutStopSec=5
KillMode=mixed
PrivateTmp=true
[Install]
WantedBy=multi-user.target