Start and Stop Parameters in Init Script

Start and Stop Parameters in Init Script

I have .conf a file in /etc/init/ with this code at the bottom:

start on (started network-interface
          or started network-manager
          or started networking)

stop on (stopping network-interface
         or stopping network-manager
         or stopping networking)

I understand this means that it is launched whenever the system boots. Anyway, is it possible to have a more accurate information about each one of these events? man initctl does not provide a comprehensive list of them and googling is not very successful so far.

1 Answer

network-interface, network-manager and networking are other Upstart jobs and are defined in /etc/init/network-interface.conf, /etc/init/network-manager.conf and /etc/init/networking.conf.

Have a look at Upstart Intro, Cookbook and Best Practises if you want to learn more about Upstart.

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Elena Rostova
Author

Elena Rostova

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.