2022-02-25 07:51:20 +00:00
|
|
|
Index: core-3.19.0/misc/systemd/cf-hub.service.in
|
2021-08-30 14:38:45 +00:00
|
|
|
===================================================================
|
2022-02-25 07:51:20 +00:00
|
|
|
--- core-3.19.0.orig/misc/systemd/cf-hub.service.in
|
|
|
|
|
+++ core-3.19.0/misc/systemd/cf-hub.service.in
|
|
|
|
|
@@ -10,6 +10,19 @@ Wants=cf-postgres.service
|
|
|
|
|
After=cf-postgres.service
|
2021-08-30 14:38:45 +00:00
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
+# added automatically, for details please see
|
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
|
+ProtectSystem=full
|
|
|
|
|
+ProtectHome=true
|
|
|
|
|
+PrivateDevices=true
|
|
|
|
|
+ProtectHostname=true
|
|
|
|
|
+ProtectClock=true
|
|
|
|
|
+ProtectKernelTunables=true
|
|
|
|
|
+ProtectKernelModules=true
|
|
|
|
|
+ProtectKernelLogs=true
|
|
|
|
|
+ProtectControlGroups=true
|
|
|
|
|
+RestrictRealtime=true
|
|
|
|
|
+# end of automatic additions
|
|
|
|
|
Type=simple
|
|
|
|
|
ExecStart=@bindir@/cf-hub --no-fork
|
|
|
|
|
Restart=always
|