diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-12-03 14:10:08 +0000 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-12-03 15:02:33 +0000 |
commit | 748ebb81cf36a6db766510891d619a0d76e73d9e (patch) | |
tree | a032f1507a8d07fd4c62a3b2d42f56d37d9229e9 /src/systemd | |
parent | 28f40317f178a2825ebecc521da9d9d694415453 (diff) | |
download | vyos-1x-748ebb81cf36a6db766510891d619a0d76e73d9e.tar.gz vyos-1x-748ebb81cf36a6db766510891d619a0d76e73d9e.zip |
tftp: T4012: Add TFTP VRF support
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/tftpd@.service | 5 |
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 |