Index: core-3.17.0/misc/systemd/cf-postgres.service.in =================================================================== --- core-3.17.0.orig/misc/systemd/cf-postgres.service.in +++ core-3.17.0/misc/systemd/cf-postgres.service.in @@ -5,6 +5,19 @@ ConditionPathExists=@bindir@/pg_ctl 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 WorkingDirectory=/tmp User=cfpostgres