diff options
Diffstat (limited to 'debian.tasks')
-rw-r--r-- | debian.tasks/changelog | 5 | ||||
-rw-r--r-- | debian.tasks/ishtar-tasks.postinst | 19 |
2 files changed, 24 insertions, 0 deletions
diff --git a/debian.tasks/changelog b/debian.tasks/changelog index e6245a54f..7edca170e 100644 --- a/debian.tasks/changelog +++ b/debian.tasks/changelog @@ -1,3 +1,8 @@ +ishtar-tasks (3.0.2-2) UNRELEASED; urgency=low + + * postinst: create /var/log/celery + + -- Étienne Loks <etienne.loks@iggdrasil.net> Mon, 19 Feb 2020 13:30:00 +0200 ishtar-tasks (3.0.2-1) UNRELEASED; urgency=low * Add config in conf.d dir 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 |