angie unit
This commit is contained in:
@@ -408,6 +408,8 @@ Wants=network-online.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/run/angie/angie.pid
|
PIDFile=/run/angie/angie.pid
|
||||||
|
ExecStartPre=/bin/mkdir -p /run/angie
|
||||||
|
ExecStartPre=/bin/mkdir -p /tmp/angie/body
|
||||||
ExecStart=/usr/sbin/angie -c /etc/angie/angie.conf
|
ExecStart=/usr/sbin/angie -c /etc/angie/angie.conf
|
||||||
ExecReload=/bin/sh -c "/bin/kill -s HUP $(/bin/cat /run/angie/angie.pid)"
|
ExecReload=/bin/sh -c "/bin/kill -s HUP $(/bin/cat /run/angie/angie.pid)"
|
||||||
ExecStop=/bin/sh -c "/bin/kill -s TERM $(/bin/cat /run/angie/angie.pid)"
|
ExecStop=/bin/sh -c "/bin/kill -s TERM $(/bin/cat /run/angie/angie.pid)"
|
||||||
|
|||||||
Reference in New Issue
Block a user