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

View file

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