jobd.pl: support graceful restart
commitc83a66f3cfc29560873256736ac45c65f9fb4bfb
authorKyle J. McKay <mackyle@gmail.com>
Sun, 27 Nov 2016 06:56:54 +0000 (26 22:56 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 27 Nov 2016 06:56:54 +0000 (26 22:56 -0800)
treef4a0edaab95753d4320dca448fd671e98342a48d
parent3140fdaafd8693d6f6ed1f26701a5b899113cbf2
jobd.pl: support graceful restart

If the string "restart" is written to jobd's lock file, then
restart the next time the queue is about to be run.

This allows a graceful restart of jobd.pl to be scheduled
by an update install.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
jobd/jobd.pl