Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
monit
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 41
[-]
[+]
Changed
monit.changes
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Sun Nov 30 15:17:41 UTC 2014 - cs@linux-administrator.com + +- update to release 5.10 +- include systemd service files on distributions which support it + +------------------------------------------------------------------- Tue May 13 17:39:46 UTC 2014 - cs@linux-administrator.com - update to release 5.8.1
[-]
[+]
Changed
monit.spec
^
@@ -3,7 +3,7 @@ %define _prefix /usr Name: monit -Version: 5.8.1 +Version: 5.10 Release: 1 Summary: Service Manager and Monitor System Source: http://www.tildeslash.com/monit/dist/monit-%{version}.tar.bz2 @@ -115,19 +115,31 @@ done popd # vendor-files %if 0%{?suse_version} +%if 0%{?suse_version} >= 1310 || 0%{?sles_version} >= 12 +%__install -D -m0644 system/startup/monit.service %{buildroot}/usr/lib/systemd/system/monit.service +%else %__install -m0754 vendor-files/init/monit %{buildroot}/etc/init.d/monit %endif +%endif %if 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} || 0%{?sl_version} +%if 0%{?rhel} > 7 +%__install -D -m0644 system/startup/monit.service %{buildroot}/usr/lib/systemd/system/monit.service +%else %__install -m0754 system/startup/rc.monit %{buildroot}/etc/init.d/monit %endif +%endif %__ln_s ../../etc/init.d/monit %{buildroot}/usr/sbin/rcmonit %__install -m0754 vendor-files/tools/monit-modifyinittab %{buildroot}%{_datadir}/monit/ %if 0%{?suse_version} +%if 0%{?suse_version} < 1310 || 0%{?sles_version} < 12 %__install -m0644 vendor-files/sysconfig/monit %{buildroot}%{_var}/adm/fillup-templates/sysconfig.monit %endif +%endif %if 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} || 0%{?sl_version} +%if 0%{?rhel} < 7 %__install -m0644 vendor-files/sysconfig/monit %{buildroot}%{_sysconfdir}/sysconfig/monit %endif +%endif touch %{buildroot}%{_var}/lib/monit/monit-inittab.state touch %{buildroot}%{_var}/run/monit/monit.{pid,state} %__install -m0644 vendor-files/docu/README README.SUSE @@ -156,17 +168,25 @@ %doc COPYING README* doc %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/monitrc %dir %{_sysconfdir}/monit.d +%if 0%{?suse_version} >= 1310 || 0%{?sles_version} >= 12 || 0%{?rhel} >= 7 +/usr/lib/systemd/system/monit.service +%else %attr(0754,root,root) %config /etc/init.d/monit %{_sbindir}/rcmonit +%endif %{_bindir}/monit %dir %{_datadir}/monit %{_datadir}/monit/monit-modifyinittab %if 0%{?suse_version} +%if 0%{?suse_version} < 1310 || 0%{?sles_version} < 12 %{_var}/adm/fillup-templates/sysconfig.monit %endif +%endif %if 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} || 0%{?sl_version} +%if 0%{?rhel} < 7 %{_sysconfdir}/sysconfig/monit %endif +%endif %dir %{_var}/lib/monit %ghost %{_var}/lib/monit/monit-inittab.state %dir %{_var}/run/monit
Added
monit-5.10.tar.bz2
^