[CentOS] Assistance with startup script
Alex Palenschat
alex at nssmgmt.com
Thu Jun 1 16:14:20 UTC 2006
> Could someone give me some assistance in getting this startup
> script to
> conform to chkconfig and such where the service will start up after
> networking comes up, and then shut down when networking goes away?
> Where all do entries need to be made, and what would they consist of?
>
> Many thanks.....
>
> Sam
> --------------------------------------------------------------
> ----------
>
man chkconfig
Seriously, it has most of the info you need. If I recall a similar
circumstance all I needed to do was to drop the script in /etc/init.d/
and do a chkconfig --add <name of script> and then it was ready to rock.
alex
More information about the CentOS
mailing list