run scripts at boot time – Debian

Debian uses a Sys-V like init system for executing commands when the system runlevel changes – for example at bootup and shutdown time.

If you wish to add a new service to start when the machine boots you should add the necessary script to the directory/etc/init.d/. Many of the scripts already present in that directory will give you an example of the kind of things that you can do.

You can useĀ update-rc.d to manage run time scripts.

update-rc.d example_service defaults

Leave a Reply

Your email address will not be published. Required fields are marked *