I’m also thinking about kicking gearmanmanager, but I’m not sure which other script can give me the features I need: start X workers of type Y, restart them if they crash or if the code changes or every hour to work around possible memory leaks and so on.

Perhaps I will use another daemon script out there and then extend it, or write my own, using system() calls to start other processes and then try to monitor them somehow.