On 12/03/2009 02:48 PM, Marcus Rueckert wrote:
Christian, you want to mention that your alternative does something totally different.
On 2009-12-03 07:33:14 -0300, Cristian Rodríguez wrote:
in the init script.
/sbin/chkconfig --add bacula-fd
we normally dont enable services by default.
No, use :
%fillup_and_insserv -f bacula-fd
this is basically an expensive way of saying "do nothing" the -f parameter says "skip fillup". as %fillup_and_insserv doesnt enable services forcefully without the -y/-Y parameter, your macro basically wont do anything and you can just leave it out.
in most cases you want %fillup_only <servicename>
darix
I found a link, which helped solve my problem, in another thread on this list :- http://rpm.org/wiki/Problems/Distributions I now have in my spec file :- %post %restart_on_update bacula-fd %(fillup_and_insserv bacula-fd) The link showed me what equated to the original %post script. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org