added code to restart service via monit http interface