Debian: How to run scripts at boot time

Personal notes to be always available for debian installations.

secure-coding-php

Here’s a very simple script which is divided into two parts, code which always runs, and code which runs when called with “start” or “stop”.

If you need something like a service to start at boot time, you need this.
Debian stores script needed to usually start, stop and restart in /etc/init.d/
Scripts contained have to be able to manage at least the start and stop parameters. Continue reading “Debian: How to run scripts at boot time”

(Visited 5,722 times, 1 visits today)