summaryrefslogtreecommitdiff
path: root/debian.tasks/ishtar-tasks.postinst
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-10-11 11:46:42 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-02-19 16:15:49 +0100
commit9494c5af7313f5f139ae815e9a1b81b757c27883 (patch)
tree1596492865507314904fb40b793584dd34872c2c /debian.tasks/ishtar-tasks.postinst
parent1292e6705f257ae0b93c356c7d4913d0188c1611 (diff)
downloadIshtar-9494c5af7313f5f139ae815e9a1b81b757c27883.tar.bz2
Ishtar-9494c5af7313f5f139ae815e9a1b81b757c27883.zip
🚀 Debian package: ishtar-tasks
Diffstat (limited to 'debian.tasks/ishtar-tasks.postinst')
-rw-r--r--debian.tasks/ishtar-tasks.postinst19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian.tasks/ishtar-tasks.postinst b/debian.tasks/ishtar-tasks.postinst
new file mode 100644
index 000000000..23d7328b4
--- /dev/null
+++ b/debian.tasks/ishtar-tasks.postinst
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ mkdir -p /var/log/celery
+ chown www-data:www-data /var/log/celery
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac \ No newline at end of file