Updates to the generated initd script

Change the script to run the daemon as the 'controls' user.  Also change
the location of the pid file (since only root can write to /var/run).