new
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
[Unit]
|
||||
Description=Game
|
||||
Description=Engine
|
||||
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
|
||||
WorkingDirectory=/data/wwwroot/engine/
|
||||
ExecStart=/data/wwwroot/engine/engine.x86_64 --headless
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
@@ -1,11 +1,11 @@
|
||||
[Unit]
|
||||
Description=Server
|
||||
Description=Service
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/data/wwwroot/server/
|
||||
ExecStart=/data/wwwroot/server/main
|
||||
WorkingDirectory=/data/wwwroot/service/
|
||||
ExecStart=/data/wwwroot/service/main
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
Reference in New Issue
Block a user