diff options
Diffstat (limited to 'src/systemd/tftpd@.service')
-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 |