diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-02-20 12:48:59 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-02-20 12:49:26 +0200 |
commit | 28e30fde7bea8b1a7a532a937a501f486bcd9715 (patch) | |
tree | 68431bdb88c2ef95f0c8956799b8d767be50534f /community/zoneminder/zoneminder.initd | |
parent | 5f9faf37a3af65f4d4ab5b14840528d5b540ce60 (diff) | |
download | aports-28e30fde7bea8b1a7a532a937a501f486bcd9715.tar.bz2 aports-28e30fde7bea8b1a7a532a937a501f486bcd9715.tar.xz |
community/zoneminder: fix errors on startup
also remove obsolete post-install script
Diffstat (limited to 'community/zoneminder/zoneminder.initd')
-rw-r--r-- | community/zoneminder/zoneminder.initd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/community/zoneminder/zoneminder.initd b/community/zoneminder/zoneminder.initd index ec9a1d1029..95c61a8acc 100644 --- a/community/zoneminder/zoneminder.initd +++ b/community/zoneminder/zoneminder.initd @@ -16,7 +16,6 @@ start() { if status > /dev/null; then ewarn "$name already started" else - ( . /etc/zm.conf && chgrp $ZM_WEB_GROUP /etc/zm.conf ) zmlinkcontent.sh > /dev/null && $command start fi eend $? @@ -33,6 +32,7 @@ stop() { } status() { + ( . /etc/zm.conf && chgrp $ZM_WEB_GROUP /etc/zm.conf ) status=$($command status) echo $status [ "$status" = running ] |