First version

This commit is contained in:
florian committed 2026-12-01 17:45:25 +01:00
commit f083bd1451
9 files changed
+211

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
set -e
case "$1" in
configure)
if ! getent group notifications-webhook >/dev/null; then
groupadd --system notifications-webhook
fi
chown root:notifications-webhook /etc/notifications-webhook/config
chmod 0640 /etc/notifications-webhook/config
if command -v py3compile >/dev/null 2>&1; then
py3compile -p notifications-webhook
fi
;;
esac
exit 0