Found this nice collection of daemontools run scripts. Will find that useful someday