On Mon, 26 Nov 2007 13:06:10 -0700, Jason Craig wrote: >Say I've installed some software, like PostgreSQL, that adds a beautiful >script to /etc/init.d/ that starts or stops the server. Now I want to >start the server in, say runlevel 3, so I know I need to add links to
It depends on how you installed the software. If it's a rpm for openSUSE, the header of the init script contains all the needed info so you just use either chkconfig or insserv to create the necessary symlinks. If you compiled the software from source, check that the init script has a LSB conforming header (see /etc/init.d/skeleton for a template) and otherwise add such a header to the init script. Afterwards just use insserv or chkconfig to create the runlevel symlinks. Manually created symlinks will be removed the next time insserv gets run! Philipp -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
