Sync from SUSE:ALP:Source:Standard:1.0 tftp revision 3c707b4ac5ad9ccd253aadda40d9edf1

This commit is contained in:
2023-11-27 11:51:28 +01:00
commit 7a92563047
15 changed files with 1016 additions and 0 deletions

22
tftp.service Normal file
View File

@@ -0,0 +1,22 @@
[Unit]
Description=Tftp Server
Wants=network.target
After=network.target
Requires=tftp.socket
[Service]
EnvironmentFile=/etc/sysconfig/tftp
ExecStart=/usr/sbin/in.tftpd -u $TFTP_USER -s $TFTP_OPTIONS $TFTP_DIRECTORY
StandardInput=socket
PrivateDevices=yes
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=read-only
ProtectHostname=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions