Switch to _service, some cleanup OBS-URL: https://build.opensuse.org/request/show/1285505 OBS-URL: https://build.opensuse.org/package/show/network/proftpd?expand=0&rev=113
27 lines
751 B
Desktop File
27 lines
751 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
|
|
Type=forking
|
|
Environment=PROFTPD_OPTIONS=
|
|
EnvironmentFile=-/etc/sysconfig/proftpd
|
|
ExecStartPre=/usr/sbin/proftpd --configtest
|
|
ExecStart=/usr/sbin/proftpd $PROFTPD_OPTIONS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|