summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-02-18 00:17:19 +0300
committerDevaev Maxim <[email protected]>2019-02-18 00:17:19 +0300
commit0f1ec2b1cddf0e4ffbe5b9e1cd251ef6a2349928 (patch)
tree5bf38c788274830416ffafef22c8fc9b950b052d
parent315842eed7a4b72e21318cb056f82c4a1b7d5547 (diff)
groups management
-rw-r--r--PKGBUILD1
-rw-r--r--kvmd.install3
2 files changed, 4 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bd71d8cc..5ac2302c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,6 +35,7 @@ depends=(
v4l-utils
nginx-mainline
openssl
+ raspberrypi-io-access
)
optdepends=(
dkms
diff --git a/kvmd.install b/kvmd.install
index 3ba475a0..7b5c9313 100644
--- a/kvmd.install
+++ b/kvmd.install
@@ -1,5 +1,8 @@
post_install() {
id kvmd &>/dev/null || useradd -r -c "The main Pi-KVM daemon" -s /sbin/nologin kvmd
+ groupmems -g gpio -a kvmd
+ groupmems -g uucp -a kvmd
+ groupmems -g systemd-journal -a kvmd
chown root:kvmd \
/usr/share/kvmd/configs.default/kvmd/htpasswd \