aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/boca.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/boca.postinst b/debian/boca.postinst
new file mode 100644
index 0000000..fe58575
--- /dev/null
+++ b/debian/boca.postinst
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+chown -R www-data.www-data /var/www/boca
+chmod -R go-rwx /var/www/boca/src/private
+chmod 4555 /usr/bin/safeexec
+
+service apache2 restart || true