summaryrefslogtreecommitdiff
path: root/configs/os/services/kvmd.service
blob: 56092f599091fe3746115c1644c5a05064ea0ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[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