summarylogtreecommitdiffstats
path: root/zoneminder.install
diff options
context:
space:
mode:
authorTroy Will2015-08-07 15:33:41 -0700
committerTroy Will2015-08-07 15:33:41 -0700
commit147238cfb6b555481b88eba05123005ab8311648 (patch)
treea9c87c10373df3d60e05ac310b67dcf377392789 /zoneminder.install
parent272d5d75b56315b511b5c4207eec21628cfbec85 (diff)
downloadaur-147238cfb6b555481b88eba05123005ab8311648.tar.gz
Change PID location to /run/zoneminder/zm.pid
Diffstat (limited to 'zoneminder.install')
-rw-r--r--zoneminder.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/zoneminder.install b/zoneminder.install
index edc233de602f..acfd93463514 100644
--- a/zoneminder.install
+++ b/zoneminder.install
@@ -1,4 +1,7 @@
post_install() {
+
+ systemd-tmpfiles --create zoneminder.conf
+
# edit /etc/php.ini for Zoneminder
sed -e '
# Enable these libraries by removing the leading comment character
@@ -67,6 +70,7 @@ post_install() {
and:
"Include /etc/httpd/conf/extra/php5_module.conf"
"Include /etc/httpd/conf/extra/httpd-zoneminder.conf"
+
EOF
}