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

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

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 ...)