Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Unix+clones

Create your own init.d scripts

Post date: November 11, 2007, 05:11 Category: Views: 7446 Comments
Tutorial quote: Have a Linux executable that you would like to run as a daemon? Making your own init.d scripts can be a bit tricky, but I can help you out.

The directory /etc/init.d/ is a location on a Linux file system that contains scripts for changing init states.

For details on Linux run levels look here.

The run levels that are most important to us are 2, 3 and 5.

VERY basic sample init.d script (Replace italics respectively):

Comments

Web-based applications and online marketing solutions - LumoLink