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 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