summaryrefslogtreecommitdiff
path: root/rhnop-client/debian/postinst
blob: be17051c2ed146c794b880ff032b0deca1a0dac6 (plain)
1
2
3
4
5
6
7
8
9
#!/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
fi