summaryrefslogtreecommitdiff
path: root/rhnop-server/debian/postinst
blob: b3b58155ed7b8bfd380c77e7a193f9c644b5c39c (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
  chown rhnop /etc/rhnop/nopsyncd.conf
fi