Xash3D FWGS engine.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
438 B

[Unit]
Description=%I - Xash3D FWGS Dedicated Server
After=network.target
[Service]
# replace xash by your user
# !!! do not run xash as root !!!
User=xash
Group=xash
Restart=always
# replace /opt/xash/srv by your path
WorkingDirectory=/opt/xash/srv/%I
EnvironmentFile=-/opt/xash/srv/%I/env
ExecStart=/opt/xash/bin/xash $EXTRA_OPTS
# engine should call sd_notify once half a second
WatchdogSec=5s
[Install]
WantedBy=multi-user.target