wait for pidfile, as daemon(8) returns 0 even if it does not finish starting the service