First version
This commit is contained in:
commit
f083bd1451
9 files changed
+211
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user