Merge pull request #647 from ariscop/master
Don't check for zmdc.pl when stopping via systemd
This commit is contained in:
commit
f6d7000ac7
|
@ -12,7 +12,7 @@ User=www-data
|
||||||
Type=forking
|
Type=forking
|
||||||
ExecStart=/usr/bin/zmpkg.pl start
|
ExecStart=/usr/bin/zmpkg.pl start
|
||||||
ExecReload=/usr/bin/zmpkg.pl restart
|
ExecReload=/usr/bin/zmpkg.pl restart
|
||||||
ExecStop=/bin/bash -c '[[ "$(/usr/bin/pgrep zmdc.pl)" > 0 ]] && /usr/bin/zmpkg.pl stop'
|
ExecStop=/usr/bin/zmpkg.pl stop
|
||||||
PIDFile=/var/run/zm/zm.pid
|
PIDFile=/var/run/zm/zm.pid
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in New Issue