diff options
author | Devaev Maxim <[email protected]> | 2019-07-19 04:26:47 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-07-19 04:26:47 +0300 |
commit | 0b3f8281ff2b72cca53e1ff524d4db93e9939854 (patch) | |
tree | 88516497810eb36d734750f4812fff1a511d4034 /configs/os/services/kvmd.service | |
parent | 7e8d5edf13b194e507a2805755fc53e3bc61bde6 (diff) |
systemd -> services
Diffstat (limited to 'configs/os/services/kvmd.service')
-rw-r--r-- | configs/os/services/kvmd.service | 16 |
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 |