Linux Today: Linux News On Internet Time.





More on LinuxToday


How to Write Linux Init Scripts Based on LSB Init Standard

Mar 19, 2012, 22:00 (0 Talkback[s])

WEBINAR:
On-Demand

How to Help Your Business Become an AI Early Adopter


"Init scripts are used to start|stop a software|service. For example, if you are using postgresql software, we will have a Init script named '/etc/init.d/postgresql' which can be used to 'start|stop|restart|reload|force-reload|status'.

LSB-compliant init scripts need to:

  • Provide at-least ?start, stop, restart, force-reload, and status?
  • Return Proper exit code
  • Document run-time dependencies

Complete Story

Related Stories: