This commit is contained in:
Devaev Maxim
2018-06-29 00:29:24 +03:00
parent 9237bb020d
commit b06bf44e33
6 changed files with 115 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
[Unit]
Description=The main process of Pi-KVM
Description=The main Pi-KVM daemon
After=network.target network-online.target nss-lookup.target
[Service]
@@ -7,8 +7,8 @@ Type=simple
Restart=always
RestartSec=3
ExecStart=python -m kvmd --config /etc/kvmd.yaml
ExecStopPost=python -m kvmd.extras.cleanup --config /etc/kvmd.yaml
ExecStart=kvmd --config /etc/kvmd.yaml
ExecStopPost=kvmd-cleanup --config /etc/kvmd.yaml
[Install]
WantedBy=multi-user.target