shell-things/etc/systemd/system/syncplay-server.service

15 lines
654 B
SYSTEMD
Raw Normal View History

2018-11-23 16:23:38 +01:00
[Unit]
Description=Syncplay server
After=network.target
[Service]
ExecStart=/opt/syncplay/syncplayServer.py --port 1234 --motd-file /opt/syncplay/motd.txt --salt autogenerated-by-running-without-this-flag-CHANGEME --password NotInThisConfigFileNotSorry
# https://github.com/ccxcz/syncplay/tree/endpoints - tcp6 includes tcp if net.ipv6.bindv6only=0 and host is not given
#ExecStart=/opt/syncplay/syncplayServer.py --endpoint tcp:1234 --endpoint tcp6:1234 --motd-file /opt/syncplay/motd.txt --salt autogenerated-by-running-without-this-flag-CHANGEME --password NotInThisConfigFileNotSorry
2018-11-23 16:23:38 +01:00
Restart=always
User=syncplay
[Install]
WantedBy=default.target