Mailinglist Archive: opensuse-packaging (109 mails)

< Previous Next >
Re: [opensuse-packaging] insserving services
  • From: Marcus Rueckert <darix@xxxxxx>
  • Date: Fri, 26 Oct 2007 22:00:36 +0200
  • Message-id: <20071026200036.GG12137@xxxxxxxxxxxxxxxxxxxxxxx>
On 2007-10-26 21:48:55 +0200, Wolfgang Rosenauer wrote:
Jan Engelhardt wrote:

some packages (e.g. cups), after installation, insert their service into
the runlevel, others (e.g. apache2) do not. How is this accomplished in
the %post sections of .spec files?

PreReq: %insserv_prereq
...
%post
%{fillup_and_insserv -f scriptname}

according to
http://en.opensuse.org/Packaging/SUSE_Package_Conventions/RPM_Macros#3.6._.25fillup_and_insserv
is -f skips the fillup part.

darix

--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups