[CentOS] best way to start and shutdown programs in CentOS?

John R Pierce pierce at hogranch.com
Tue Nov 23 01:03:53 UTC 2010


On 11/21/10 6:20 PM, Kill Script wrote:
>
> and I think that I can easily modify this Oracle init.d example
>
> http://www.linuxjournal.com/files/linuxjournal.com/linuxjournal/articles/044/4445/4445l1.html
>

note that example is suffering from some HTML formatting issues.  
Specifically, the lines like...

	su-$ORA_OWNER -c $ORA_HOME/bin/dbstart

should be

	su - $ORA_OWNER -c $ORA_HOME/bin/dbstart


(noting the spaces on either side of the first dash ...)





More information about the CentOS mailing list