diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-02-19 13:34:49 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-11-04 18:49:51 +0100 |
commit | bdbbe81c49006381cd3027d3f1c9b750bc42ed17 (patch) | |
tree | 011edda706a680c8698247857803065a887bf923 /debian.tasks/ishtar-tasks.postinst | |
parent | fb465a83d25023c4c306de6496471d4bc79675ae (diff) | |
download | Ishtar-bdbbe81c49006381cd3027d3f1c9b750bc42ed17.tar.bz2 Ishtar-bdbbe81c49006381cd3027d3f1c9b750bc42ed17.zip |
Debian: tasks - create celery log dir
Diffstat (limited to 'debian.tasks/ishtar-tasks.postinst')
-rw-r--r-- | debian.tasks/ishtar-tasks.postinst | 19 |
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 |