summaryrefslogtreecommitdiff
path: root/community/gearmand/gearmand.install
blob: 56d8ac86be88ebde5357ac7dd0a2dd2b602c90e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install() {
  getent group gearmand >/dev/null 2>&1 || groupadd -g 113 gearmand &>/dev/null
  getent passwd gearmand >/dev/null 2>&1 || useradd -u 113 -g gearmand -d /dev/null -s /bin/false gearmand &>/dev/null
}

post_upgrade() {
  post_install $1
}

post_remove() {
  userdel gearmand
}