<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 31, 2015 at 6:29 PM, Mihamina Rakotomandimby <span dir="ltr"><<a href="mailto:mihamina.rakotomandimby@rktmb.org" target="_blank">mihamina.rakotomandimby@rktmb.org</a>></span> wrote:<br><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<font size="-1"><font face="Calibri">On Debian, at post-install, Collectd is fired up.<br>
If Collectd ever fails to lookup its IP adress from its
hostname, the service startup fails and thus the package
install.<br></font></font></div></blockquote><div><br></div><div>On your machines create a simple script which exits with return code 101 and place it in /usr/sbin/policy-rc.d<br><br></div><div>With that, any installation of a service makes post-install script to not start them up. This allows you post install customization before actually activating the service for real.<br></div><div><br></div><div>man invoke-rc.d for further details.<br clear="all"></div></div><br>-- <br><div class="gmail_signature">Unix _IS_ user friendly, it's just selective about who its friends are.</div>
</div></div>