You need to make your package be depend (predepend?) on uwsgi and Apache and 
trigger them on postinst 'configure' and prerm 'remove'

Best regards,
Yurii Oleynikov

> 19 февр. 2015 г., в 19:59, Jose Guerrero <[email protected]> написал(а):
> 
> Hi everyone!
> 
> I am packaging a django app and I would like that after installing the 
> package, nginx and uwsgi services would start automatically. I am using 
> debuild to build the package and I have no idea where or how to specify the 
> services I want to start after the installation. 
> 
> I hope somebody here could point me in the right direction with this, any 
> help is appreciated.


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to