Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

starting a service at boot? 1

Status
Not open for further replies.

delfy

MIS
Feb 8, 2005
96
JM
i normally start a service like this

/etc/rc.d/init.d/psql start

how can i get it to start at boot?
 
If you are using Redhat, Fedora, Centos:

chkconfig --add psql (optional)
chkconfig --level 35 psql on


Otherwise you get into an effort to symlink from the
/etc/rc.d/init.d/psql into
/etc/rc3.d/



D.E.R. Management - IT Project Management Consulting
 
on Debian (and debian-based distros as Ubuntu)

update-rc.d psql start NN 3 5 stop NN 3 5

where NN is the start number i.e.:

/etc/rc3.d/SNNpsql
/etc/rc3.d/KNNpsql

Cheers.

Chacal, Inc.[wavey]
 
thanks Chacalinc i am actually using mandrakeb but thanks for the information anyway
 
I believe mandrake uses chkconfig as well. I know mandriva does.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top