mirror of https://github.com/YGGverse/pymaster.git
Alibek Omarov
4 years ago
2 changed files with 18 additions and 0 deletions
@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
|
||||
PYMASTER_IP=0.0.0.0 |
||||
PYMASTER_PORT=27010 |
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
[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 |
||||
|
Loading…
Reference in new issue