mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
systemd -> services
This commit is contained in:
16
configs/os/services/kvmd.service
Normal file
16
configs/os/services/kvmd.service
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user