This is an example for adding native Upstart support to the Debian package for a Java service.
The default
and upstart
files should both be placed in your debian
packaging directory,
giving you a final tree that looks something like:
+ debian/
- control
- default
- upstart
...
Note that you will have to replace some tokens in the upstart
file with your actual service name and JAR path.