summaryrefslogtreecommitdiff
path: root/rhnop-client/debian/postinst
blob: 3ff8b35bb0f91f13eceec49f808eb95a4626ccbe (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# postinst script for rhnop-client

set -e

if [ "$1" = "configure" ]; then
  adduser --quiet --system --group --no-create-home --home /var/run/rhnop rhnop
  chgrp rhnop /etc/rhnop/nopcollectd.*.conf
  chgrp rhnop /etc/rhnop/nopsysstated.conf
fi