1.0.0
This commit is contained in:
@@ -4,6 +4,7 @@ After=syslog.target network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
User=root
|
||||||
Environment=GODOT_SILENCE_ROOT_WARNING=1
|
Environment=GODOT_SILENCE_ROOT_WARNING=1
|
||||||
WorkingDirectory=/data/wwwroot/game/
|
WorkingDirectory=/data/wwwroot/game/
|
||||||
ExecStart=/data/wwwroot/game/server.x86_64 --headless
|
ExecStart=/data/wwwroot/game/server.x86_64 --headless
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ After=syslog.target network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
User=root
|
||||||
WorkingDirectory=/data/wwwroot/server/
|
WorkingDirectory=/data/wwwroot/server/
|
||||||
ExecStart=/data/wwwroot/server/main
|
ExecStart=/data/wwwroot/server/main
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
scp -r ./engine/release/server* root@172.21.255.206:/data/wwwroot/game/
|
scp -r ./engine/release/server* root@172.21.254.81:/data/wwwroot/game/
|
||||||
|
|
||||||
ssh root@172.21.255.206 "chmod +x /data/wwwroot/game/* && cd /opt/Engine2D && sudo ./tools/update.sh"
|
ssh root@172.21.254.81 "chmod +x /data/wwwroot/game/* && cd /opt/Engine2D && sudo ./tools/update.sh"
|
||||||
Reference in New Issue
Block a user