diff options
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 +} |