About where to place the kill script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux