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
|
||||
ExecStart=/usr/bin/zmpkg.pl start
|
||||
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
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue