1
0
Fork 0
mirror of https://github.com/de2tla2f/pymaster.git synced 2024-11-27 13:21:28 +00:00
pymaster/etc/systemd/system/pymaster.service

17 lines
324 B
SYSTEMD
Raw Normal View History

2020-12-09 17:47:28 +00:00
[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