forked from pool/proftpd
7163f98894
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/926710 OBS-URL: https://build.opensuse.org/package/show/network/proftpd?expand=0&rev=82
23 lines
619 B
Desktop File
23 lines
619 B
Desktop File
[Unit]
|
|
Description=ProFTPd FTP server
|
|
After=systemd-user-sessions.service network.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
|
|
ExecStart=/usr/sbin/proftpd --nodaemon
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|