creating pidfile with stop-start-daemon
adding debug mode to diagnose meter problem
merge