57ee4f2635
Update to 1.3.7c OBS-URL: https://build.opensuse.org/request/show/965196 OBS-URL: https://build.opensuse.org/package/show/network/proftpd?expand=0&rev=83
24 lines
782 B
Diff
24 lines
782 B
Diff
Index: contrib/dist/rpm/proftpd.service
|
|
===================================================================
|
|
--- contrib/dist/rpm/proftpd.service.orig
|
|
+++ contrib/dist/rpm/proftpd.service
|
|
@@ -4,6 +4,18 @@ Wants=network-online.target
|
|
After=network-online.target nss-lookup.target local-fs.target remote-fs.target
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type = simple
|
|
Environment = PROFTPD_OPTIONS=
|
|
EnvironmentFile = -/etc/sysconfig/proftpd
|