This commit is contained in:
GeekROS
2024-03-04 00:16:17 +08:00
parent 7ff7822ce0
commit 708c82d3d8
2 changed files with 1 additions and 2 deletions

View File

@@ -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

View File

@@ -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