1
vote
1answer
299 views

Daemon - how to tell the start daemon to execute this daemon as different username then root?

I have this startup script, when i launch i have the execution done by username: root, instead of username: sun. How can i tell the start_daemon to execute it as username : sun not root? $ ps aux | ...
1
vote
2answers
51 views

Begin root process at boot?

I'd like to start a background process as root when my Linux install boots. Can I just add it to a directory or a configuration file?
1
vote
1answer
863 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 ...
3
votes
1answer
2k views

Problem starting a service running Debian

I want to run a UPNP renderer as a service on a Raspberry Pi using Raspian, a Debian based distro. Actually, everything runs fine but one thing : I can't manage to start the service at boot time at ...
3
votes
2answers
2k views

Is there an easy way to create a FreeBSD rc script?

I have a FreeBSD jail in which I run a server using the command: /usr/sbin/daemon /path/to/script.py At the moment I have to run this command every time I restart the machine and the jail starts. ...
4
votes
2answers
3k views

Make daemon start up with Linux

I'm writing a simple daemon application using C/C++ and I want it to start when Linux starts up. I am a beginner on Linux systems. I have tried to modify /etc/init.d/skeleton to add a script into ...
1
vote
7answers
1k views

What's the cleanest way to schedule autoexec.bat like command in Linux?

I want to create a small script for my Linux system that would do some simple things on PC boot. The script is most likely going to be Python, but maybe I'll resort to C or shell. The problem is that ...