forked from pool/proftpd
24 lines
828 B
Diff
24 lines
828 B
Diff
|
Index: proftpd-1.3.6e/contrib/dist/rpm/proftpd.service
|
||
|
===================================================================
|
||
|
--- proftpd-1.3.6e.orig/contrib/dist/rpm/proftpd.service
|
||
|
+++ proftpd-1.3.6e/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
|