Fixed start up bug with upstart. Allowed for configuration. There are
still some hardcoded values but it should work for most of the default
cases.