diff options
author | Devaev Maxim <[email protected]> | 2018-11-16 01:16:33 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-16 01:16:33 +0300 |
commit | 1ddfc2058459cdfe81fb36cbe1f361cd570d16fc (patch) | |
tree | f0133492fc008d01b13f02754716d44b001da561 /kvmd.install | |
parent | 1c8e4dbe04351d838d650a735da5387555af8353 (diff) |
unprivileged kvmd daemon
Diffstat (limited to 'kvmd.install')
-rw-r--r-- | kvmd.install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kvmd.install b/kvmd.install new file mode 100644 index 00000000..b77e1248 --- /dev/null +++ b/kvmd.install @@ -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 +} |