smileyface/instance/ut4-server.service

19 lines
391 B
Desktop File

[Unit]
Description=Unreal Tournament 4 Server
After=syslog.target network.target
[Service]
Type=simple
ExecStart=/home/ut4/serv/start-server.sh
ExecReload=/home/ut4/serv/stop-server.sh && sleep 10 && /home/ut4/serv/start-server.sh
ExecStop=/home/ut4/serv/stop-server.sh
Restart=no
RuntimeDirectory=/home/ut4/serv
User=ut4
Group=ut4
KillSignal=SIGQUIT
[Install]
WantedBy=multi-user.target