Hello,
is there any "standard" way of packaging a program to .deb that it would use non-standard directories for its files? I.e. I want it to use /etc/nginx-cdn for configuration instead of /etc/nginx, use /usr/local/nginx-cdn instead of /usr, /var/log/nginx-cdn instead of /var/nginx etc. I try to specify it in debian/rules in ./configure as a parameter for the program, however it looks like it gets ignored and apt installs it in the "standard" directories anyway.
I've spend quite a lot of time on google and reading debhelper's man page as well as the Maintainer's guide, however I wasn't able to find anything relevant. I've found how to install a package in a "chroot", however this is not the case.
Could you "push" me the right direction?
BTW what I'm trying accomplish: I need two running webservers on the same machine. Each of them is a different version of Nginx with different patches etc, listening on different IP and generally doing something different. However it has to be on a single machine.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Custom directories for a Debian package
Custom directories for a Debian package
Because let’s face it, the unfortunate aspect of software development is that it involves humans. Mewling, disorganized, miserably analog humans. Sometimes they smell bad.