0
votes
0answers
98 views

update-rc.d with shairport v1.0-dev

I've just tried setting up shairport 1.0-dev on the raspberry pi running Raspbian “wheezy” and it works fine when started manually (music plays and is discoverable). I then tried to make it start on ...
1
vote
1answer
864 views

adding a program on start-up by using LSBInitScripts

I use Debian Lenny (I know lenny is old and other bla bla) and would like to place a program on the start-up. I use update-rc.d by adding an executable file on /etc/init.d. By referring to ...
2
votes
2answers
2k views

/etc/init.d/script, or /etc/inittab - respawn on die

I have a daemon/service (milter-regex), that is dying. I'm only using it temporarily (A few months), so don't care too much, but I want it to restart when it dies. It is an init.d script. 'service ...
2
votes
1answer
202 views

Why does Redhat's daemon function not have a group setting?

Background: I'm a Ubuntu/Debian fan and most of my development experience has been on that platform but my current employer uses Redhat. I needed to write a simple init.d script and want the ...
4
votes
2answers
178 views

Is it good practice to create a background job within an init script if the process can not daemonize itself?

I am fairly new to *nix, and have come across the need to drop multiple processes, that should be run 100% of the time. to background using &. I use the following line in an init.d script to do ...
0
votes
3answers
381 views

Prevent init daemon echoing on TTY

Below is an init script which starts/stops a daemon. The daemon is unfortunately printing the parsed packet data (from /home/nuthan/program/server), a socket server written in perl, listening to a ...