summaryrefslogtreecommitdiff
path: root/configs/os/services/kvmd.service
diff options
context:
space:
mode:
Diffstat (limited to 'configs/os/services/kvmd.service')
-rw-r--r--configs/os/services/kvmd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/os/services/kvmd.service b/configs/os/services/kvmd.service
new file mode 100644
index 00000000..d161b95e
--- /dev/null
+++ b/configs/os/services/kvmd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Pi-KVM - The main daemon
+After=network.target network-online.target nss-lookup.target
+
+[Service]
+User=kvmd
+Group=kvmd
+Type=simple
+Restart=always
+RestartSec=3
+
+ExecStart=/usr/bin/kvmd
+ExecStopPost=/usr/bin/kvmd-cleanup
+
+[Install]
+WantedBy=multi-user.target