[Unit]
Description=Tiny Adventure game server

[Service]
WorkingDirectory=%h/repos/tiny-adventure
ExecStart=%h/repos/tiny-adventure/bin/server --addr 127.0.0.1:8083 --web web --data %h/.local/state/tiny-adventure
Restart=on-failure
RestartSec=2
Nice=10
MemoryMax=512M
CPUQuota=50%

[Install]
WantedBy=default.target
