Move these service control functions into service-utils.inc so they may be re-used.
Simplify this code
Add PHP shell playback script to control services from the command line (works like Status > Services)