Files
mir-godot/tools/centos/etc/systemd/system/game.service
2024-03-03 22:59:18 +08:00

14 lines
271 B
Desktop File

[Unit]
Description=Game
After=syslog.target network.target
[Service]
Type=simple
Environment=GODOT_SILENCE_ROOT_WARNING=1
WorkingDirectory=/data/wwwroot/game/
ExecStart=/data/wwwroot/game/server.x86_64 --headless
Restart=on-failure
[Install]
WantedBy=multi-user.target