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

set -e

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