Hi Gerrit,

I just realized that for custom commands like 'reload' to work, it's not
even necessary to go through runsv; sv could manage it on its own, just like
it does 'check'. You'd just need the custom scripts in the service
directory, where check resides anyway (or in a subdirectory so you could
have actions called 'run' and 'finish').

sv could then just call the corresponding script when called with an unknown
command argument, preferably changing to the service directory first so that
things like 'sv h .' work (which is what 'reload' would do in many cases).

What do you think?

Andras

-- 
                 Andras Korn <korn at chardonnay.math.bme.hu>
                 <http://chardonnay.math.bme.hu/~korn/> QOTD:
                     It doesn't work, but it looks pretty.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to