summaryrefslogtreecommitdiff
path: root/src/systemd/tftpd@.service
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd/tftpd@.service')
-rw-r--r--src/systemd/tftpd@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/systemd/tftpd@.service b/src/systemd/tftpd@.service
new file mode 100644
index 0000000..a674bf5
--- /dev/null
+++ b/src/systemd/tftpd@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=TFTP server
+After=vyos-router.service
+RequiresMountsFor=/run
+
+[Service]
+Type=forking
+#NotifyAccess=main
+EnvironmentFile=-/etc/default/tftpd%I
+ExecStart=/bin/sh -c "${VRF_ARGS} /usr/sbin/in.tftpd ${DAEMON_ARGS}"
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target