game.service 281 B

1234567891011121314
  1. [Unit]
  2. Description=Game
  3. After=syslog.target network.target
  4. [Service]
  5. Type=simple
  6. User=root
  7. Environment=GODOT_SILENCE_ROOT_WARNING=1
  8. WorkingDirectory=/data/wwwroot/game/
  9. ExecStart=/data/wwwroot/game/server.x86_64 --headless
  10. Restart=on-failure
  11. [Install]
  12. WantedBy=multi-user.target