unprivileged kvmd daemon

This commit is contained in:
Devaev Maxim
2018-11-16 01:16:33 +03:00
parent 1c8e4dbe04
commit 1ddfc20584
3 changed files with 10 additions and 0 deletions

7
kvmd.install Normal file
View 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
}