mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-03-28 18:36:52 +01:00
systemd/syncplay-server.service: use venv
Resolves: #145 Thanks again @EchedeyLR
This commit is contained in:
parent
a4b7bdb51a
commit
c32910df57
@ -3,7 +3,8 @@ Description=Syncplay server
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/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
|
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
|
||||||
Restart=always
|
Restart=always
|
||||||
User=syncplay
|
User=syncplay
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user