mirror of
https://github.com/de2tla2f/pymaster.git
synced 2024-11-22 19:11:29 +00:00
17 lines
324 B
SYSTEMD
17 lines
324 B
SYSTEMD
|
[Unit]
|
||
|
Description=Xash3D Master Server
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
EnvironmentFile=-/etc/default/pymaster
|
||
|
User=master
|
||
|
Group=master
|
||
|
WorkingDirectory=/home/master/pymaster/
|
||
|
ExecStart=/home/master/pymaster/pymaster.py -i $PYMASTER_IP -p $PYMASTER_PORT
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|