diff options
Diffstat (limited to 'syncplay-bridge/syncplay-bridge.service')
-rw-r--r-- | syncplay-bridge/syncplay-bridge.service | 25 |
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 |