0
votes
0answers
42 views

init service script is running twice

I have a init script under /etc/init/ to start up an application server. The problem is that it seems to be running twice. here is the command: exec su - deployer -c 'cd /home/deployer/app/current; ...
0
votes
0answers
52 views

Running PHP scriipt as Daemon. System_Daemon or init?

I am relatively new to Linux, and was trying to find a way to run a php script as a Daemon. I have now found 2 ways to do this (Using an init script, or PHP/Pear System_Dameon class). I was wondering ...
1
vote
1answer
522 views

mongodb service doesn't restart after being stopped

Currently I am unable to start mongodb with the usual command sudo service mongodb start. When I do that, I get something like: mongodb start/running, process 23387 however no such process is ...
0
votes
0answers
303 views

Correctly configure daemon (god) in /etc/init/ so it automatically starts during a reboot

For the life of me, I need help. I have Ubuntu 12.04 LTS installed and I believe that this version of Ubuntu already comes pre-configured with Upstart, which I'm assuming that all I need to do is ...
1
vote
1answer
2k views

Upstart job fails to respawn and hangs when tried to stop/restart it

I'm using Upstart 1.5 in Ubuntu 12.04 to manage a process created by some user but needs to be managed as system job as starting on boot, respawning if it fails and we been able to start/stop it at ...
3
votes
1answer
254 views

.override file isn't working

I have a file /etc/init/boinc-client.override with the single line manual that I use to prevent the BOINC client from starting up. (I don't want it hogging CPU time away from Folding@Home, for now ...
1
vote
1answer
2k views

How do I get Upstart to start my Mediatomb service?

I've been struggling, trying to get my Mediatomb server to start automatically on Upstart run level 2. I can't figure it out. I guess Upstart is still new to me and I don't understand it. I even ...
5
votes
2answers
15k views

How to start jenkins?

I installed jenkins via sudo apt-get install jenkins. However, it doesn't start up. Tried to start it manually using sudo /etc/init.d/jenkins start. But it says this message when I try to start it ...
3
votes
4answers
4k views

Upstart script for a transmission-daemon executed as a normal user

I have done a script to start transmission-daemon as a normal user: start on filesystem stop on runlevel [!2345] respawn respawn limit 10 5 pre-start script test -x /usr/bin/transmission-daemon ...
1
vote
1answer
441 views

Translating inittab line to Ubuntu 9.04 jaunty system equivalent

I'm trying to use runit on my SheevaPlug running Ubuntu 9.04 Jaunty. There is a helpful tutorial at TechRepublic (Use runit to supervise Linux services) that walks through the process of setting it ...