handle ttl being specified as a string in the config
fix upstart "start on" trigger