Fix daemon startup

The -p pid_file has been moved closer to startproc, otherwise it is interpreted
as an argument of waagent.