diff --git a/tools/centos/etc/systemd/system/game.service b/tools/centos/etc/systemd/system/game.service index 00d258d..d5897ff 100644 --- a/tools/centos/etc/systemd/system/game.service +++ b/tools/centos/etc/systemd/system/game.service @@ -4,7 +4,6 @@ After=syslog.target network.target [Service] Type=simple -User=root Environment=GODOT_SILENCE_ROOT_WARNING=1 WorkingDirectory=/data/wwwroot/game/ ExecStart=/data/wwwroot/game/server.x86_64 --headless diff --git a/tools/centos/etc/systemd/system/server.service b/tools/centos/etc/systemd/system/server.service index 1905b9a..ae03be2 100644 --- a/tools/centos/etc/systemd/system/server.service +++ b/tools/centos/etc/systemd/system/server.service @@ -4,7 +4,7 @@ After=syslog.target network.target [Service] Type=simple -User=root +WorkingDirectory=/data/wwwroot/server/ ExecStart=/data/wwwroot/server/main Restart=on-failure