Sync from SUSE:ALP:Source:Standard:1.0 tftp revision 3c707b4ac5ad9ccd253aadda40d9edf1
This commit is contained in:
22
tftp.service
Normal file
22
tftp.service
Normal 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
|
Reference in New Issue
Block a user