summaryrefslogtreecommitdiffstats
path: root/syncplay-bridge/syncplay-bridge.service
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2022-07-31 19:52:23 +0200
committerGeorg Pfuetzenreuter2022-07-31 19:52:23 +0200
commit19bcae4b1a639537f447460df76219459f33caaa (patch)
tree4719811d11f55482f31e6ce3105d309bea5897fe /syncplay-bridge/syncplay-bridge.service
downloadsyncplay-master.tar.gz
syncplay-master.tar.bz2
syncplay-master.zip
Init SyncPlayHEADmaster
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'syncplay-bridge/syncplay-bridge.service')
-rw-r--r--syncplay-bridge/syncplay-bridge.service25
1 files changed, 25 insertions, 0 deletions
diff --git a/syncplay-bridge/syncplay-bridge.service b/syncplay-bridge/syncplay-bridge.service
new file mode 100644
index 0000000..a8d4e97
--- /dev/null
+++ b/syncplay-bridge/syncplay-bridge.service
@@ -0,0 +1,25 @@
+[Unit]
+Description=Syncplay IRC Bridge
+Wants=network.target
+After=syncplay.service stunnel.service
+BindsTo=syncplay.service stunnel.service
+
+[Service]
+User=syncplay
+Group=syncplay
+ExecStart=/bin/bash /usr/local/bin/syncplay-bridge
+ProtectSystem=strict
+ProtectHome=yes
+PrivateDevices=yes
+PrivateTmp=yes
+PrivateUsers=yes
+ProtectKernelTunables=yes
+ProtectKernelLogs=yes
+ProtectControlGroups=yes
+ReadWritePaths=/var/lib/syncplay
+RestrictAddressFamilies=AF_INET6
+SystemCallArchitectures=native
+SystemCallFilter=@system-service
+
+[Install]
+WantedBy=multi-user.target