summaryrefslogtreecommitdiff
path: root/kvmd/configs
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-07-08 02:57:29 +0000
committerDevaev Maxim <[email protected]>2018-07-08 02:57:29 +0000
commitb1d72e86637b233d26e7b68724251d98030d6052 (patch)
treebb8c248bde49ebd6feb2467cbbcb6909f0a293cb /kvmd/configs
parentc24b6f83f8dd1b5a957798e1271969a022db41ad (diff)
moved kvmd.service to configs dir
Diffstat (limited to 'kvmd/configs')
-rw-r--r--kvmd/configs/kvmd.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/kvmd/configs/kvmd.service b/kvmd/configs/kvmd.service
new file mode 100644
index 00000000..185a4eb5
--- /dev/null
+++ b/kvmd/configs/kvmd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=The main Pi-KVM daemon
+After=network.target network-online.target nss-lookup.target
+
+[Service]
+Type=simple
+Restart=always
+RestartSec=3
+
+ExecStart=/usr/bin/kvmd --config /etc/kvmd.yaml
+ExecStopPost=/usr/bin/kvmd-cleanup --config /etc/kvmd.yaml
+
+[Install]
+WantedBy=multi-user.target