Day: June 5, 2012

How to add a service on Linux using chkconfig

Add a service to  auto start in linux Add the below #comment lines on top of the script which always located /etc/init.d/ #chkconfig: 2345 20 80 #description: Saves and restores system 2,3,4,5 are starting levels 20 startup priority 80 stop priority causes the line to be continued Finally add services to  “autostart” chkconfig –add service1 […]