summaryrefslogtreecommitdiff
path: root/src/systemd/tftpd@.service
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-03 16:32:01 +0100
committerGitHub <noreply@github.com>2021-12-03 16:32:01 +0100
commit8a38d9a1f1abfc5fc8855472a19997c1b07b820b (patch)
treea032f1507a8d07fd4c62a3b2d42f56d37d9229e9 /src/systemd/tftpd@.service
parent28f40317f178a2825ebecc521da9d9d694415453 (diff)
parent748ebb81cf36a6db766510891d619a0d76e73d9e (diff)
downloadvyos-1x-8a38d9a1f1abfc5fc8855472a19997c1b07b820b.tar.gz
vyos-1x-8a38d9a1f1abfc5fc8855472a19997c1b07b820b.zip
Merge pull request #1094 from DmitriyEshenko/eq-1x-03122021-01
tftp: T4012: Add TFTP VRF support
Diffstat (limited to 'src/systemd/tftpd@.service')
-rw-r--r--src/systemd/tftpd@.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/systemd/tftpd@.service b/src/systemd/tftpd@.service
index 266bc0962..f34db8ea5 100644
--- a/src/systemd/tftpd@.service
+++ b/src/systemd/tftpd@.service
@@ -7,8 +7,9 @@ RequiresMountsFor=/run
Type=forking
#NotifyAccess=main
EnvironmentFile=-/etc/default/tftpd%I
-ExecStart=/usr/sbin/in.tftpd "$DAEMON_ARGS"
-Restart=on-failure
+ExecStart=/bin/sh -c "${VRF_ARGS} /usr/sbin/in.tftpd ${DAEMON_ARGS}"
+Restart=always
+RestartSec=10
[Install]
WantedBy=multi-user.target