From 61c1657d3e207071b7c0c5e7c4ef4a466d8f81b4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 24 Feb 2019 21:04:35 +0100 Subject: [tftp] T1261: bugfix listening on multiple IP addesses tftp-hpa which is the TFTP daemon used by VyOS does not support listening on multiple IP adresses. With this limitation we will start one TFTP daemon instance per configured listen-address via systemd. (cherry picked from commit 735a24d58ddf55294241ce8160471fe9be062498) --- src/systemd/tftpd@.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/systemd/tftpd@.service (limited to 'src/systemd/tftpd@.service') diff --git a/src/systemd/tftpd@.service b/src/systemd/tftpd@.service new file mode 100644 index 000000000..e5c289466 --- /dev/null +++ b/src/systemd/tftpd@.service @@ -0,0 +1,14 @@ +[Unit] +Description=TFTP server +After=network.target +RequiresMountsFor=/run + +[Service] +Type=forking +#NotifyAccess=main +EnvironmentFile=-/etc/default/tftpd%I +ExecStart=/usr/sbin/in.tftpd "$DAEMON_ARGS" +Restart=on-failure + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3