summarylogtreecommitdiffstats
path: root/.install
blob: b84204add155ea675c6b1ea263158cfc506eaefe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  if [ -z `getent group servicemix` ]; then
    groupadd servicemix
  fi

  chgrp -R servicemix /etc/servicemix
  chgrp -R servicemix /var/lib/servicemix
  
  printf "\n-> User must be added to 'servicemix' group in order to execute servicemix correctly.\n"
}

post_remove() {
  groupdel servicemix 
}