Update zoneminder.service.in
Fix restart issue when using systemd
This commit is contained in:
parent
23ee96c966
commit
966767e346
|
@ -11,7 +11,7 @@ User=@WEB_USER@
|
|||
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'
|
||||
ExecStop=@BINDIR@/zmpkg.pl stop
|
||||
PIDFile="@ZM_RUNDIR@/zm.pid"
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue