diff --git a/games-server/vintagestory-server/files/vintagestory.initd b/games-server/vintagestory-server/files/vintagestory.initd index 6ceb001..7c236ff 100644 --- a/games-server/vintagestory-server/files/vintagestory.initd +++ b/games-server/vintagestory-server/files/vintagestory.initd @@ -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}"