File harden_leafnode@.service.patch of Package leafnode
--- systemd/leafnode@.service.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) --- a/systemd/leafnode@.service.in +++ b/systemd/leafnode@.service.in @@ -3,6 +3,19 @@ Description=NNTP server for small sites Documentation=man:leafnode(8) [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 ExecStart=@sbindir@/leafnode StandardInput=socket User=news




