The logic used in `pupernetes wait` and `pupernetes daemon run --job-type systemd` could be factorised in a single place.
The logic used in
pupernetes waitandpupernetes daemon run --job-type systemdcould be factorised in a single place.