About where to place the kill script

Technical technical at sojourn.dyndns.org
Sat Feb 14 23:04:34 UTC 2004


Please read the instructions below... Should the kill and stratup scripts
reside in the same run level... It makes no sense .... where should i put
the kill script on Fedora?

Starting BB at system boot

	Depending on U*X operation system version (Linux/BSD/Solaris/...)
	your startup procedures will vary from OS to OS.  In short, you
	have to create a startup script that has a start/stop
	capabilities.  Under a lot of OSes, you'll want to create your
	script in the init.d directory and create an S89bb link in rc3.d that
	links to init.d/S89bb (you may also want to create a K11bb link in
	rc3.d that'll be used when the system shuts down).  Use an existing
	startup script has an example and substitute with these commands:

	To start BB, use this command:

	su - <bbuser> -c "cd <BBHOME>;./runbb.sh start"
		or
	su - <bbuser> -c "cd <BBHOME>;./runbb.sh restart"

	To stop BB, use this command:

	su - <bbuser> -c "cd <BBHOME>;./runbb.sh stop"

	<bbuser> is the user that BB will execute has
		make sure that bbuser has all permissions under BBHOME
	<BBHOME> is the location of your BB install

	e.g. su - bb -c "cd /home/bb;./runbb.sh start"






More information about the fedora-list mailing list