PDA

View Full Version : [ubuntu] daemontools - run is executed multiple times



sokrates_sf
March 19th, 2010, 12:58 AM
I installed daemontools based on http://mihasya.com/blog/daemontools-0-76-on-ubuntu-9-04/

- Patched it as suggested

- Created /service/.../run and tested with the "echo" as described in install instructions.

- What I am getting is a continuous output ("echo")

- Any application 'exec' calls in 'run' result in creation of multiple application instances.

Anyone any ideas ?

sokrates_sf
March 19th, 2010, 09:59 AM
... adding a 'sleep' fixed the issue:

#!/bin/bash
exec [YOUR_APPLICATION]
sleep 15