Add sqlite to teamspeak webhook and add "Backup" to servername
This commit is contained in:
parent
4dbec53d30
commit
1ddf34690c
5 changed files with 40 additions and 7 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
chown -R "${TEAMSPEAK_USER}:${TEAMSPEAK_GROUP}" /mnt/teamspeak_fallback_data
|
||||
sqlite3 "$WEBHOOK_DATA" "UPDATE server_properties SET value='Vollidioten (Backup)' WHERE ident='virtualserver_name';"
|
||||
install -o "${TEAMSPEAK_USER}" -g "${TEAMSPEAK_GROUP}" -m 644 "$WEBHOOK_DATA" "/mnt/teamspeak_fallback_data/ts3server.sqlitedb"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue