summaryrefslogtreecommitdiff
path: root/user/apaste/apaste-server.post-install
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2024-02-24 08:53:33 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2024-02-24 08:57:44 +0000
commitf6caef65cb23c157fa195a56a648235a8af37531 (patch)
tree1b1d7541270b3f5fb603187e34d7a0aacd2640c6 /user/apaste/apaste-server.post-install
parentca35fa1a22f117398f176d5ecbb2259aab28ab4c (diff)
downloadpackages-f6caef65cb23c157fa195a56a648235a8af37531.tar.gz
packages-f6caef65cb23c157fa195a56a648235a8af37531.tar.bz2
packages-f6caef65cb23c157fa195a56a648235a8af37531.tar.xz
packages-f6caef65cb23c157fa195a56a648235a8af37531.zip
user/apaste: new package
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