2023-06-30 06:40:29 +02:00
|
|
|
diff --git a/scripts/shairport-sync.service-avahi.in b/scripts/shairport-sync.service-avahi.in
|
|
|
|
index 4a874c54..6bc80c1e 100644
|
|
|
|
--- a/scripts/shairport-sync.service-avahi.in
|
|
|
|
+++ b/scripts/shairport-sync.service-avahi.in
|
|
|
|
@@ -7,6 +7,16 @@ Wants=network-online.target
|
2021-11-21 09:27:33 +01:00
|
|
|
After=network.target network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
+ProtectSystem=full
|
|
|
|
+ProtectHome=true
|
|
|
|
+ProtectHostname=true
|
|
|
|
+ProtectKernelTunables=true
|
|
|
|
+ProtectKernelModules=true
|
|
|
|
+ProtectKernelLogs=true
|
|
|
|
+ProtectControlGroups=true
|
2023-06-30 06:40:29 +02:00
|
|
|
+# end of automatic additions
|
|
|
|
ExecStart=@prefix@/bin/shairport-sync --log-to-syslog
|
|
|
|
User=shairport-sync
|
|
|
|
Group=shairport-sync
|
|
|
|
diff --git a/scripts/shairport-sync.service.in b/scripts/shairport-sync.service.in
|
|
|
|
index 18df3f35..791fd89f 100644
|
|
|
|
--- a/scripts/shairport-sync.service.in
|
|
|
|
+++ b/scripts/shairport-sync.service.in
|
|
|
|
@@ -5,6 +5,16 @@ Wants=network-online.target
|
|
|
|
After=network.target network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
+ProtectSystem=full
|
|
|
|
+ProtectHome=true
|
|
|
|
+ProtectHostname=true
|
|
|
|
+ProtectKernelTunables=true
|
|
|
|
+ProtectKernelModules=true
|
|
|
|
+ProtectKernelLogs=true
|
|
|
|
+ProtectControlGroups=true
|
|
|
|
+# end of automatic additions
|
2022-12-27 14:27:41 +01:00
|
|
|
ExecStart=@prefix@/bin/shairport-sync --log-to-syslog
|
2021-11-21 09:27:33 +01:00
|
|
|
User=shairport-sync
|
|
|
|
Group=shairport-sync
|