blob: cdd3d7dd0563ecabf6a16aa08d6b95cec34fe2ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
post_install() {
post_upgrade
passwd -l uchiwa &>/dev/null
}
post_upgrade() {
# create user/group that the daemon will run as by default, do not delete this on uninstall, as it will own files
getent group uchiwa >/dev/null || groupadd -r uchiwa
getent passwd uchiwa >/dev/null || useradd -r -c 'sensu dashboard service user' -g uchiwa -M -s /bin/false uchiwa
}
|