Allow $service_* to be auto-set based on $service_provider

This is so one doesn't have to manually configure all $service_ variables but
still can if they desire.
Set pid and socket directories based on OS