tsr-api: add upstart file