From e46f64125ed3b222f3fe39dae7346df89cf10f05 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Wed, 29 Mar 2017 13:28:15 -0500 Subject: [PATCH] Update zoneminder.tmpfiles.in With cakephp debug mode off, we must ensure cake's tmp folders are created --- distros/redhat/systemd/zoneminder.tmpfiles.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/distros/redhat/systemd/zoneminder.tmpfiles.in b/distros/redhat/systemd/zoneminder.tmpfiles.in index f3acd0af7..910c360f1 100644 --- a/distros/redhat/systemd/zoneminder.tmpfiles.in +++ b/distros/redhat/systemd/zoneminder.tmpfiles.in @@ -1,2 +1,7 @@ D @ZM_TMPDIR@ 0755 @WEB_USER@ @WEB_GROUP@ +D @ZM_TMPDIR@/logs 0755 @WEB_USER@ @WEB_GROUP@ +D @ZM_TMPDIR@/cache 0755 @WEB_USER@ @WEB_GROUP@ +D @ZM_TMPDIR@/cache/models 0755 @WEB_USER@ @WEB_GROUP@ +D @ZM_TMPDIR@/cache/persistent 0755 @WEB_USER@ @WEB_GROUP@ +D @ZM_TMPDIR@/cache/views 0755 @WEB_USER@ @WEB_GROUP@ D @ZM_SOCKDIR@ 0755 @WEB_USER@ @WEB_GROUP@