mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
unprivileged kvmd daemon
This commit is contained in:
7
kvmd.install
Normal file
7
kvmd.install
Normal file
@@ -0,0 +1,7 @@
|
||||
post_install() {
|
||||
id kvmd &>/dev/null || useradd -r -c "The main Pi-KVM daemon" -s /sbin/nologin kvmd
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
userdel kvmd &>/dev/null
|
||||
}
|
||||
Reference in New Issue
Block a user