summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'