Index: core-3.17.0/misc/systemd/cf-apache.service.in =================================================================== --- core-3.17.0.orig/misc/systemd/cf-apache.service.in +++ core-3.17.0/misc/systemd/cf-apache.service.in @@ -7,6 +7,19 @@ ConditionPathExists=@workdir@/httpd/bin/ PartOf=cfengine3.service [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=forking ExecStart=@workdir@/httpd/bin/apachectl start ExecStop=@workdir@/httpd/bin/apachectl stop