xonecas.ioDon't click! Sean Caetano Martin Sign in
tiny-adventure / deploy / tiny-adventure.service 14 lines316 bytes Raw
1[Unit]
2Description=Tiny Adventure game server
3
4[Service]
5WorkingDirectory=%h/repos/tiny-adventure
6ExecStart=%h/repos/tiny-adventure/bin/server --addr 127.0.0.1:8083 --web web --data %h/.local/state/tiny-adventure
7Restart=on-failure
8RestartSec=2
9Nice=10
10MemoryMax=512M
11CPUQuota=50%
12
13[Install]
14WantedBy=default.target