Changes of Revision 22
[-] | Changed | monit.spec |
x 1
2 3 # Let's include some good defaults 4 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/monit.d 5 -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/monit.ssl 6 7 8 %clean 9
10 %post 11 # This adds the proper /etc/rc*.d links for the script 12 /sbin/chkconfig --add monit 13 -/usr/bin/create_monit_ssl 14 -cd %{_sysconfdir}/monit.d/ && tar -xvzf %{SOURCE6} && rm %{SOURCE6} 15 - 16 -#### 17 - 18 -echo "###################################################" 19 -echo "SSL Certs got created, and stored in /etc/monit.ssl" 20 -echo "###################################################" 21 - 22 23 ## generate pound cert 24 exec > /dev/null 2> /dev/null 25
26 27 %files 28 %defattr(-,root,root,-) 29 -%doc COPYING README 30 +%doc COPYING README sample-checks.tar.gz 31 %config(noreplace) %{_sysconfdir}/monit.conf 32 %config(noreplace) %{_sysconfdir}/monit.d/logging.conf 33 #%config(noreplace) %{_sysconfdir}/monit.d/ix-monit.conf 34 -%config(noreplace) %{_sysconfdir}/monit.d/sample-checks.tar.gz 35 #%config(noreplace) %{_sysconfdir}/monit.ssl/* 36 %config(noreplace) %{_sysconfdir}/logrotate.d/monit 37 %ghost %{_localstatedir}/log/monit 38 |
||
[+] | Changed | ix-monit.conf ^ |
@@ -33,4 +33,4 @@ allow admin:CHANGEME -include /etc/monit.d/* \ No newline at end of file +include /etc/monit.d/*.conf \ No newline at end of file |