I have a python script which runs a daemon-like service, now I created the python package. I created a .deb package from there but I want the script to be run with upstart, but I can't mange to write the files in the /etc/init ubuntu folder automatically when .deb package is installed so that my daemon doesn't have to be started manually on reboot. I don't know if I explained this well, but I don't know how to explain it better...
what I have: python_script.py ->runs a python-daemon
python_script.tar.gz -> python package
what I need:
python.deb -> which install the python script and sets up the upstart for my python scrip so that it runs as a service/daemon