Service command handling fix when no upstart config file

Fixed the service command not working

On Ubuntu 1[02].04 the service name was not recognized because
there is a SysV style init script, but not an upstart config file.

Example: The `ntp` client.

Also removed extra spaces at the end of the lines, while at it.