summaryrefslogtreecommitdiff
path: root/configs/os/systemd/kvmd.service
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-02-16 21:16:53 +0300
committerDevaev Maxim <[email protected]>2019-02-16 21:16:53 +0300
commit303715ee613fca518644df63c10be3c06d4bfa72 (patch)
tree05fa4600ba5873827e0d2871f6e6c2a702f7472d /configs/os/systemd/kvmd.service
parent7d79f48fd87083ffe38158fc456cad4737ab0242 (diff)
os configs
Diffstat (limited to 'configs/os/systemd/kvmd.service')
-rw-r--r--configs/os/systemd/kvmd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/os/systemd/kvmd.service b/configs/os/systemd/kvmd.service
new file mode 100644
index 00000000..eaab01aa
--- /dev/null
+++ b/configs/os/systemd/kvmd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=The main Pi-KVM 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