One-KVM/configs/os/services/kvmd.service
2021-09-08 06:47:54 +03:00

20 lines
351 B
Desktop File

[Unit]
Description=PiKVM - The main daemon
After=network.target network-online.target nss-lookup.target
[Service]
User=kvmd
Group=kvmd
Type=simple
Restart=always
RestartSec=3
AmbientCapabilities=CAP_NET_RAW
ExecStart=/usr/bin/kvmd --run
ExecStopPost=/usr/bin/kvmd-cleanup --run
TimeoutStopSec=10
KillMode=mixed
[Install]
WantedBy=multi-user.target