oops. A missend there a moment ago.
Tony Schreiner wrote:
While you're at it, why not take a look at how Dag's version implements starting and stopping, and lock files (if it uses one) and learn from it.
Nothing that I can find on lock files.
Starting is running the command miredo or miredo-server
Stopping is sending SIGTERM