aboutsummaryrefslogtreecommitdiffstats
path: root/community/zoneminder/zoneminder.initd
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-02-20 12:48:59 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-02-20 12:49:26 +0200
commit28e30fde7bea8b1a7a532a937a501f486bcd9715 (patch)
tree68431bdb88c2ef95f0c8956799b8d767be50534f /community/zoneminder/zoneminder.initd
parent5f9faf37a3af65f4d4ab5b14840528d5b540ce60 (diff)
downloadaports-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.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 ]