Merge pull request #647 from ariscop/master

Don't check for zmdc.pl when stopping via systemd
This commit is contained in:
Andrew Bauer 2014-12-23 06:58:32 -06:00
commit f6d7000ac7
1 changed files with 1 additions and 1 deletions

View File

@ -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]