diff options
Diffstat (limited to 'debian/rhnop-common.postinst')
-rwxr-xr-x | debian/rhnop-common.postinst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rhnop-common.postinst b/debian/rhnop-common.postinst new file mode 100755 index 0000000..46f206a --- /dev/null +++ b/debian/rhnop-common.postinst @@ -0,0 +1,9 @@ +#!/bin/sh +# postinst script for rhnop + +set -e + +if [ "$1" = "configure" ]; then + adduser --quiet --system --group --no-create-home --home /var/run/rhnop rhnop + chgrp -R rhnop /etc/rhnop/ +fi |