From 19bcae4b1a639537f447460df76219459f33caaa Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 31 Jul 2022 19:52:23 +0200 Subject: Init SyncPlay Signed-off-by: Georg Pfuetzenreuter --- syncplay/motd | 1 + syncplay/syncplay.service | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 syncplay/motd create mode 100644 syncplay/syncplay.service (limited to 'syncplay') diff --git a/syncplay/motd b/syncplay/motd new file mode 100644 index 0000000..196c138 --- /dev/null +++ b/syncplay/motd @@ -0,0 +1 @@ +The LYSERGIC SyncPlay server hugs you for a warm welcome!!! <3 diff --git a/syncplay/syncplay.service b/syncplay/syncplay.service new file mode 100644 index 0000000..286ac0d --- /dev/null +++ b/syncplay/syncplay.service @@ -0,0 +1,23 @@ +[Unit] +Description=Syncplay Server +Wants=network.target + +[Service] +User=syncplay +Group=syncplay +ExecStart=/usr/bin/syncplay-server --salt %%SALT%% --stats-db-file /var/lib/syncplay/db.sqlite --port 8998 --motd-file /etc/syncplay/motd +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 -- cgit v1.2.3