Provides install/update systemd workflow for git-based deploys to Ubuntu VPS. Co-authored-by: Cursor <[email protected]>
25 lines
551 B
Desktop File
25 lines
551 B
Desktop File
# 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
|