Re: [suse-sles-e] startup scritps

From: Lars Mller (lmuelle_at_suse.de)
Date: Mon May 15 2006 - 22:08:47 CEST


Date: Mon, 15 May 2006 22:08:47 +0200
From: Lars Mller <lmuelle@suse.de>
Message-ID: <20060515200847.GL32303@gray.suse.de>
Subject: Re: [suse-sles-e] startup scritps


On Mon, May 15, 2006 at 02:14:22PM -0400, Toll, Eric wrote:
> Hello all. I have sles9-sp3 and I have a few scripts in /etc/init.d that I
> want to execute when system starts.
>
> It seems tedious to make a skeleton script, then insserv that script. Is this
> the recommended way?

Consider to based your script on /etc/init.d/skeleton and you'll be able
to let insserv - see the manpage of insserv for more details - take care
about the position of your service in between the others.

You might have the requirement to start some services before your
service/ program. E.g. syslog, snmpd, or a MTA.

> Can I not copy the scripts (which accept start and stop) I want to run into
> runlevel 5 folder?
>
> Just seems wierd coming from FreeBSD.

See man init.d for a detailed picture.

Lars

-- 
Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany




This archive was generated by hypermail 2.1.7 : Mon May 15 2006 - 22:08:51 CEST