16 lines
310 B
Django/Jinja
16 lines
310 B
Django/Jinja
[Unit]
|
|
Description=Tank'z game server
|
|
|
|
[Service]
|
|
Type=simple
|
|
PIDFile=/var/run/tankz.pid
|
|
WorkingDirectory=/home/holop/repo/tankz/current/target
|
|
User=www-data
|
|
Group=www-data
|
|
ExecStart=/usr/bin/neko /home/holop/repo/tankz/current/target/tankz.n
|
|
TimeoutSec=300
|
|
Restart=always
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |