Changes of Revision 25
[-] | Changed | monit.spec |
x 1
2 BuildRequires: byacc 3 BuildRequires: gcc, make 4 BuildRequires: pam-devel 5 +Requires: make 6 7 %description 8 monit is a utility for managing and monitoring, processes, files, directories 9
10 # This adds the proper /etc/rc*.d links for the script 11 /sbin/chkconfig --add monit 12 13 -## generate pound cert 14 exec > /dev/null 2> /dev/null 15 if [ ! -f %{_sysconfdir}/pki/tls/certs/monit.pem ] ; then 16 pushd %{_sysconfdir}/pki/tls/certs 17
18 exit 0 19 20 21 + 22 %preun 23 if [ $1 = 0 ]; then 24 /sbin/service monit stop >/dev/null 2>&1 25 |