[CentOS] how to do startup scripts?
Joseph L. Casale
JCasale at activenetwerx.com
Mon Dec 7 20:02:01 UTC 2009
>any suggestion?
>I've looked around about none interactive shells and so on.. so if I did a symbolic link from bamboo.sh script to /etc/init.d would that work?
>what about variables inside the script would they b read ?
Well, you can add an entry for that shell script to rc.local (unsexy).
Open a copy of an existing init script, and start hacking (sexy).
Wait till rhel moves away from that archaic sys v like stuff into a more intelligent
system like smf (super lusty) but that might be a while:)
jlc
More information about the CentOS
mailing list