add some lines to create /var/run/zm. These day /run is a tmpfs, so the zm dir needs to be created on each boot

pull/49/head
Isaac Connor 2013-05-10 13:42:09 -04:00
parent 9d89fb3bcb
commit 2cd0237863
1 changed files with 2 additions and 0 deletions

2
debian/init.d vendored
View File

@ -17,10 +17,12 @@
prog=ZoneMinder
ZM_PATH_BIN="/usr/bin"
RUNDIR=/var/run/zm
command="$ZM_PATH_BIN/zmpkg.pl"
start() {
echo -n "Starting $prog: "
mkdir -p $RUNDIR
zmfix -a
$command start
RETVAL=$?