summaryrefslogtreecommitdiff
path: root/res/debian
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-04-30 03:16:26 +0300
committerLV-426 <lv-426@taproot.org.il>2015-04-30 03:16:26 +0300
commit18e957e462484dba4e2299b82fe229f16e116692 (patch)
tree0ed5d52e9193ea1fe42a115b3491e53eccb3368e /res/debian
parent902dc040cdfe243eec05c2d82c3638e83da26a08 (diff)
deb-pkg: fix /var/log/rhizi ownership
Diffstat (limited to 'res/debian')
-rw-r--r--res/debian/dirs2
-rw-r--r--res/debian/postinst1
2 files changed, 3 insertions, 0 deletions
diff --git a/res/debian/dirs b/res/debian/dirs
new file mode 100644
index 00000000..41d605ce
--- /dev/null
+++ b/res/debian/dirs
@@ -0,0 +1,2 @@
+var/run/rhizi
+var/log/rhizi
diff --git a/res/debian/postinst b/res/debian/postinst
index 1f871f78..44b87c5f 100644
--- a/res/debian/postinst
+++ b/res/debian/postinst
@@ -23,6 +23,7 @@ case "$1" in
# call chmod, chown, etc.
chown www-data:www-data /var/run/rhizi
+ chown www-data:www-data /var/log/rhizi
# configure apache - FIXME: impl undo
echo 'enabling apache proxy modules - warning: this will not be reverted during package uninstall'