“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
How to Write Linux Init Scripts Based on LSB Init Standard
By
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis