s/command/program/
flock doesn't operate the way I expected. It uses fork, not execve, so
it is left running as the parent process. Makes it kind of annoying
to use for pidfile locks in this case. I may revisit this in the future.