add systemd unit for syncplay-server

This commit is contained in:
Aminda Suomalainen 2018-11-23 17:23:38 +02:00
parent 33db566a27
commit c57d5443ab
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
[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
Restart=always
User=syncplay
[Install]
WantedBy=default.target