aboutsummaryrefslogtreecommitdiffstats
path: root/community/zoneminder/zoneminder.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/zoneminder/zoneminder.initd')
-rw-r--r--community/zoneminder/zoneminder.initd2
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 ]