Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 48a4d605e0a0d47079f434de4579bb0d > scriptlet

nagios-3.5.1-1.fc18.x86_64.rpm

PREUN

/bin/sh
if [ $1 = 0 ]; then
    /sbin/service nagios stop > /dev/null 2>&1 || :
    /sbin/chkconfig --del nagios || :
fi

POSTIN

/bin/sh
/usr/sbin/usermod -a -G nagios apache || :
/sbin/chkconfig --add nagios || :
/sbin/service httpd condrestart > /dev/null 2>&1 || :

POSTUN

/bin/sh
/sbin/service httpd condrestart > /dev/null 2>&1 || :


# missing buildrequires
#%check
#make test