Update zoneminder.service.in

This commit is contained in:
Andrew Bauer 2014-09-11 19:20:09 -05:00
parent cccd1ee14f
commit 887fe24b98
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ Type=forking
ExecStart=@BINDIR@/zmpkg.pl start
ExecReload=@BINDIR@/zmpkg.pl restart
ExecStop=/bin/bash -c '[[ "$(@BINDIR@/pgrep zmdc.pl)" > 0 ]] && @BINDIR@/zmpkg.pl stop'
PIDFile="@ZM_RUNDIR@/zm.pid"
[Install]
WantedBy=multi-user.target