[Unit] After=network.target [Service] Type=simple User=xash3d-master Group=xash3d-master ExecStart=/usr/local/bin/xash3d-master --ip xxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx StandardOutput=file:///path/to/debug.log StandardError=file:///path/to/error.log # Restart=on-failure [Install] WantedBy=multi-user.target