Skip to content

Commit

Permalink
disabling NPCD for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Schoeller committed Oct 22, 2024
1 parent aabcac3 commit c274778
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pnp4nagios.spec
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ if [ "$RPM_BUILD_ROOT" != "/" ]; then
fi
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL_OPTS="" HTTP_INSTALL_OPTS="" MIX_OPTS="" INIT_OPTS="" NOSAMPLES=1
# for NPCD
%{__make} install-init DESTDIR=$RPM_BUILD_ROOT INSTALL_OPTS="" HTTP_INSTALL_OPTS="" MIX_OPTS="" INIT_OPTS="" NOSAMPLES=1
#%{__make} install-init DESTDIR=$RPM_BUILD_ROOT INSTALL_OPTS="" HTTP_INSTALL_OPTS="" MIX_OPTS="" INIT_OPTS="" NOSAMPLES=1

# NO...do NOT remove -sample from filename suffix
#for i in $RPM_BUILD_ROOT/%{_sysconfdir}/pnp4nagios/*-sample \
Expand Down Expand Up @@ -157,8 +157,9 @@ install -m 0644 contrib/fedora/logwatch/conf/logfiles/pnp4nagios.conf \
#sed 's|/usr/local/nagios/etc/htpasswd.users|@NAGIOS_PWD@|' \
# sample-config/httpd.conf \
# > $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/%{name}.conf
install -Dp -m 0644 scripts/npcd.service \
$RPM_BUILD_ROOT%{_unitdir}/npcd.service
# This doesn't work.
#install -Dp -m 0644 scripts/npcd.service \
# $RPM_BUILD_ROOT%{_unitdir}/npcd.service

#### broker api changed
#mkdir -p $RPM_BUILD_ROOT%{_libdir}/nagios/brokers
Expand Down

0 comments on commit c274778

Please sign in to comment.