A PID file for multi-launch detection/prevention might be helpful. Multi-launch on the same worktodo file wastes energy and... energy, I guess.
Specific use case: this would simplify pause-restart scripts. If multi-launch is prevented, a script can just always call start.
Implementation suggestion: extend the existing file-lock system, just make a mfakto.lck.
A PID file for multi-launch detection/prevention might be helpful. Multi-launch on the same worktodo file wastes energy and... energy, I guess.
Specific use case: this would simplify pause-restart scripts. If multi-launch is prevented, a script can just always call start.
Implementation suggestion: extend the existing file-lock system, just make a
mfakto.lck.