Initial commit
This commit is contained in:
13
tools/centos/etc/systemd/system/game.service
Normal file
13
tools/centos/etc/systemd/system/game.service
Normal 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
|
||||
12
tools/centos/etc/systemd/system/server.service
Normal file
12
tools/centos/etc/systemd/system/server.service
Normal 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
|
||||
Reference in New Issue
Block a user