Initial commit

This commit is contained in:
GeekROS
2024-03-03 22:59:18 +08:00
commit cec0aae8e3
69 changed files with 2687 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
[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

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Server
After=syslog.target network.target
[Service]
Type=simple
WorkingDirectory=/data/wwwroot/server/
ExecStart=/data/wwwroot/server/main
Restart=on-failure
[Install]
WantedBy=multi-user.target