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 43
[-]
[+]
Changed
monit.spec
@@ -1,5 +1,5 @@ # norootforbuild - +%define _default_patch_fuzz 3 %define _prefix /usr Name: monit @@ -119,6 +119,7 @@ %__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 +%__ln_s ../../etc/init.d/monit %{buildroot}/usr/sbin/rcmonit %endif %endif %if 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} || 0%{?sl_version} @@ -126,9 +127,9 @@ %__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 +%__ln_s ../../etc/init.d/monit %{buildroot}/usr/sbin/rcmonit %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