Re: [opensuse] adding links in /etc/init.d/rc*.d/
- From: "Myrosia Dzikovska" <myrosia@xxxxxxxxx>
- Date: Mon, 26 Nov 2007 21:51:09 +0000
I'd put it somewhere late in the runlevel sequence of events. Like, say 30 or
so. On my SLES10 it's killed as no 10 and started as no 12.
As root, goto /etc/init.d/rc3.d and do:
ln -s ../postgresql S30postgresql
Symlinks preceded by an "S" starts stuff. "K" kills stuff. See "man init.d"
Actually I wouldn't do it by hand at all. I'd use YaST under System, Runlevel
services. In there, I'd set it to run in runlevel 3 (and 5 for that matter).
I'd also use YaST to start and stop the service. That should really do it.
One correction to this: better not do ln -s by hand, because next time
you run either yast or chkconfig, it can change the service priority
unexpectedly. I just got burned by that recently. If you really want
to control the order in which services start, then first edit the
script header, and on the # Required-Start: line (there will be one on
top) add names all the services you want to start before this script.
Then run either insserv or yast system services module to enable the
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Prev by Date: Re: [opensuse] Display Power Management Ceased Functioning (SuSE Linux 10.0 / KDE)
- Next by Date: [opensuse] 10.2 Java broken in firefox 18.104.22.168
- Previous by thread: Re: [opensuse] adding links in /etc/init.d/rc*.d/
- Next by thread: Re: [opensuse] adding links in /etc/init.d/rc*.d/