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

13 lines
470 B
SYSTEMD
Raw Normal View History

2018-11-23 16:23:38 +01:00
[Unit]
Description=Syncplay server
After=network.target
[Service]
Environment=PATH=/opt/syncplay/venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
ExecStart=/opt/syncplay/venv/bin/python3 /opt/syncplay/syncplayServer.py --port 1234 --motd-file /opt/syncplay/motd.txt --salt autogenerated-by-running-without-this-flag-CHANGEME --password NotInThisConfigFileNotSorry --tls /opt/syncplay/ssl
2018-11-23 16:23:38 +01:00
Restart=always
User=syncplay
[Install]
WantedBy=default.target