The default runlevels are used by a program to order the init scripts e. How to write linux init scripts based on lsb init standard. Well its been 5 years old now, and i think its totally obsolete since systemd is the new thing which has been a year or two now. Ubuntu init scripts lsbinitscripts small tips that i. Upstart has the advantage of being far easier to configure and allows proper sequencing of task initialization.
For example, if you are using postgresql software, we will have a init script named etcinit. Skeleton of a subsystem control program in etcinit. Put a script containing the command in your etc directory. I am trying to write an init script for the scst iscsi target software for debian ubuntu. How to install and configure nagios core on ubuntu 16. Requiredstart, requiredstop, shouldstart and shouldstop. Stack overflow for teams is a private, secure spot for you and your coworkers to find and share information. Here is a getting started guide for upstart in ubuntu.
1186 217 986 1505 700 414 626 948 561 257 647 497 71 619 1448 1138 1055 1080 654 1399 478 787 101 653 801 915 1266 1103 1370 933 125 1034