From d1b7a602f6d0de640f7ff9fce26c3c2689d750cd Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 11 Oct 2023 11:46:42 +0200 Subject: 🚀 Debian package: ishtar-tasks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian.tasks/ishtar-tasks.postinst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 debian.tasks/ishtar-tasks.postinst (limited to 'debian.tasks/ishtar-tasks.postinst') 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 -- cgit v1.2.3