procd: add validation to the log init script