Check configuration before attempting to start, and also before attempting
to restart. This means that you are not left with a non-working daemon if
you break your config file.
While here, correct style and pet rclint.
PR:
Submitted by:
Reported by: