Add webhook service

This commit is contained in:
Tobias Reisinger 2023-12-15 02:28:38 +01:00
parent 297325cce5
commit 7400ef19ad
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 95 additions and 4 deletions
_ansible/roles/webhook/files

View file

@ -0,0 +1,4 @@
#!/usr/bin/env sh
chown -R "${TEAMSPEAK_USER}:${TEAMSPEAK_GROUP}" /mnt/teamspeak-fallback-data
install -o "${TEAMSPEAK_USER}" -g "${TEAMSPEAK_GROUP}" -m 644 "$WEBHOOK_DATA" "/mnt/teamspeak-fallback-data/ts3server.sqlitedb"