File harden_robinhood.service.patch of Package robinhood
Index: robinhood-1ca39f131bb35f120f458faf4e70779d5621e8cd/scripts/robinhood.service.in
===================================================================
--- robinhood-1ca39f131bb35f120f458faf4e70779d5621e8cd.orig/scripts/robinhood.service.in
+++ robinhood-1ca39f131bb35f120f458faf4e70779d5621e8cd/scripts/robinhood.service.in
@@ -3,6 +3,15 @@ Description=Robinhood server
#only works if config file is unique
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
Type=simple
KillMode=mixed
EnvironmentFile=-@CONFDIR@/sysconfig/robinhood