2022-03-27 15:33:14 +02:00
|
|
|
Index: contrib/dist/rpm/proftpd.service
|
2021-10-29 15:59:55 +02:00
|
|
|
===================================================================
|
2022-03-27 15:33:14 +02:00
|
|
|
--- contrib/dist/rpm/proftpd.service.orig
|
|
|
|
+++ contrib/dist/rpm/proftpd.service
|
2021-10-29 15:59:55 +02:00
|
|
|
@@ -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
|
2022-03-27 15:33:14 +02:00
|
|
|
+# end of automatic additions
|
2021-10-29 15:59:55 +02:00
|
|
|
Type = simple
|
|
|
|
Environment = PROFTPD_OPTIONS=
|
|
|
|
EnvironmentFile = -/etc/sysconfig/proftpd
|