Add Eden Smash Ultimate VPS room deployment scripts.
Provides install/update systemd workflow for git-based deploys to Ubuntu VPS. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Reference unit file — install.sh writes /etc/systemd/system/eden-room.service
|
||||
# with paths adjusted to your clone location (default: /opt/eden-room).
|
||||
|
||||
[Unit]
|
||||
Description=Eden Multiplayer Room
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=eden
|
||||
Group=eden
|
||||
WorkingDirectory=/opt/eden-room
|
||||
ExecStart=/opt/eden-room/scripts/start-room.sh
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/opt/eden-room
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user