summaryrefslogtreecommitdiff
path: root/configs/os
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-10-19 04:34:22 +0300
committerMaxim Devaev <[email protected]>2021-10-19 04:34:22 +0300
commitdb144eb77520cd4b418ad81e185d98a3a99c7f26 (patch)
treeb0bf612064dbfe01122c21ee78b8089d38042bb9 /configs/os
parent2e886ff92b9b41211402b11f896b86d99273567f (diff)
kvmd-bootconfig prototype
Diffstat (limited to 'configs/os')
-rw-r--r--configs/os/services/kvmd-bootconfig.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/configs/os/services/kvmd-bootconfig.service b/configs/os/services/kvmd-bootconfig.service
new file mode 100644
index 00000000..71388205
--- /dev/null
+++ b/configs/os/services/kvmd-bootconfig.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Pi-KVM - Boot configuration
+After=systemd-modules-load.service
+Before=network-pre.target kvmd-otg.service kvmd-nginx.service kvmd.service sshd.service pikvm-bootconfig.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/kvmd-bootconfig --do-the-thing
+ExecStop=/bin/true
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target