diff options
author | Georg Pfuetzenreuter | 2022-07-31 19:52:23 +0200 |
---|---|---|
committer | Georg Pfuetzenreuter | 2022-07-31 19:52:23 +0200 |
commit | 19bcae4b1a639537f447460df76219459f33caaa (patch) | |
tree | 4719811d11f55482f31e6ce3105d309bea5897fe /syncplay-proxy/syncplay-proxy.service | |
download | syncplay-19bcae4b1a639537f447460df76219459f33caaa.tar.gz syncplay-19bcae4b1a639537f447460df76219459f33caaa.tar.bz2 syncplay-19bcae4b1a639537f447460df76219459f33caaa.zip |
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'syncplay-proxy/syncplay-proxy.service')
-rw-r--r-- | syncplay-proxy/syncplay-proxy.service | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/syncplay-proxy/syncplay-proxy.service b/syncplay-proxy/syncplay-proxy.service new file mode 100644 index 0000000..6d11d46 --- /dev/null +++ b/syncplay-proxy/syncplay-proxy.service @@ -0,0 +1,23 @@ +[Unit] +Description=Syncplay TLS Fixer +Wants=network.target + +[Service] +User=syncplay +Group=syncplay +ExecStart=/usr/bin/python3.10 /usr/local/bin/syncplay-proxy 8999 8997 +ProtectSystem=strict +ProtectHome=yes +PrivateDevices=yes +PrivateTmp=yes +PrivateUsers=yes +ProtectKernelTunables=yes +ProtectKernelLogs=yes +ProtectControlGroups=yes +ReadWritePaths=/var/lib/syncplay +RestrictAddressFamilies=AF_INET6 AF_INET +SystemCallArchitectures=native +SystemCallFilter=@system-service + +[Install] +WantedBy=multi-user.target |