summaryrefslogtreecommitdiff
path: root/user/apaste/apaste-server.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/apaste/apaste-server.post-install')
-rw-r--r--user/apaste/apaste-server.post-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/apaste/apaste-server.post-install b/user/apaste/apaste-server.post-install
new file mode 100644
index 000000000..aba532a62
--- /dev/null
+++ b/user/apaste/apaste-server.post-install
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+mkdir -p -m 0755 /var/log
+list="/var/log/apasted-4 /var/log/apasted-6 /var/log/apastesd-4 /var/log/apastesd-6"
+mkdir -p -m 0755 $list
+chown apastedlog:apasted $list
+chmod 02755 $list