games-server/vintagestory-server: jocker

This commit is contained in:
Alarig Le Lay 2023-05-30 14:55:11 +02:00
parent 85c4a5b991
commit 705267c810
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
1 changed files with 2 additions and 2 deletions

View File

@ -13,10 +13,10 @@ pidfile="/run/${RC_SVCNAME}.pid"
command_user="vintagestory"
command_group="vintagestory"
command_args="/opt/vintagestory-server/VintagestoryServer.exe --dataPath ${DATAPATH}"
DATAPATH="/var/lib/vintagestory"
command_args="/opt/vintagestory-server/VintagestoryServer.exe --dataPath ${DATAPATH}"
start_pre() {
checkpath -d -m 0750 -o "${command_user}:${command_group}" \
"${DATAPATH}"