Mailinglist Archive: opensuse-packaging (109 mails)

< Previous Next >
Re: [opensuse-packaging] insserving services
  • From: Herbert Graeber <herbert@xxxxxxxxxxxxxxx>
  • Date: Fri, 26 Oct 2007 22:13:08 +0200
  • Message-id: <200710262213.08610.herbert@xxxxxxxxxxxxxxx>
Am Freitag, 26. Oktober 2007 21:27:43 schrieb Jan Engelhardt:
Hi,

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?

Lokk into the SUSE Packaginig Conventions at
http://en.opensuse.org/Packaging/SUSE_Package_Conventions .

The macros %fillup_and_insserv, %insserv_cleanup, %insserv_force_if_yast
and %restart_on_update and the Chapter about init scripts are what you need.

Herbert
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
References