diff --git a/powerd.service b/powerd.service index 14d6846..3d10306 100644 --- a/powerd.service +++ b/powerd.service @@ -4,6 +4,17 @@ Documentation=man:powerd(8) ConditionPathExists=/etc/powerd.conf [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 +RestrictRealtime=true +# end of automatic additions Type=forking PIDFile=/var/run/powerd.pid ExecStart=/sbin/powerd