aboutsummaryrefslogtreecommitdiff
path: root/proof-of-concept/tftp/cloner/etc/systemd/system/cloner.service
diff options
context:
space:
mode:
Diffstat (limited to 'proof-of-concept/tftp/cloner/etc/systemd/system/cloner.service')
-rw-r--r--proof-of-concept/tftp/cloner/etc/systemd/system/cloner.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/proof-of-concept/tftp/cloner/etc/systemd/system/cloner.service b/proof-of-concept/tftp/cloner/etc/systemd/system/cloner.service
new file mode 100644
index 0000000..afa0a69
--- /dev/null
+++ b/proof-of-concept/tftp/cloner/etc/systemd/system/cloner.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Cloner
+After=network.target
+Before=getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service
+
+[Service]
+Type=oneshot
+WorkingDirectory=/
+ExecStart=/opt/cloner/bin/cloner
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target