diff --git a/distros/ubuntu1504_cmake/zoneminder.init b/distros/ubuntu1504_cmake/zoneminder.init index 88de7cef9..5cdf62165 100644 --- a/distros/ubuntu1504_cmake/zoneminder.init +++ b/distros/ubuntu1504_cmake/zoneminder.init @@ -23,6 +23,7 @@ command="$ZM_PATH_BIN/zmpkg.pl" start() { echo -n "Starting $prog: " + export TZ=:/etc/localtime mkdir -p "$RUNDIR" && chown www-data:www-data "$RUNDIR" mkdir -p "$TMPDIR" && chown www-data:www-data "$TMPDIR" $command start diff --git a/distros/ubuntu1504_cmake_split_packages/zoneminder-core.zoneminder.init b/distros/ubuntu1504_cmake_split_packages/zoneminder-core.zoneminder.init index d3354c1d8..f22143c38 100644 --- a/distros/ubuntu1504_cmake_split_packages/zoneminder-core.zoneminder.init +++ b/distros/ubuntu1504_cmake_split_packages/zoneminder-core.zoneminder.init @@ -23,6 +23,7 @@ command="$ZM_PATH_BIN/zmpkg.pl" start() { echo -n "Starting $prog: " + export TZ=:/etc/localtime mkdir -p $RUNDIR && chown www-data:www-data $RUNDIR mkdir -p $TMPDIR && chown www-data:www-data $TMPDIR $command start