On 27/04/11 22:33, Mike Orr wrote:

By "end user" do you mean yourself or another sysadmin? I don't
distribute daemon applications; I just run them myself. If you need to
distribute them so that an unknowledgeable sysadmin can install them,
Yes I intend exactly that.
it's more difficult. Every OS and Linux distro is different in its
daemon configuration. If your sysadmins are all running a DEB or
RPM-based system with a 'supervisor' and 'python-virtualenv' packages
available, you can make a DEB or RPM package for them containing the
application and Supervisor conf file and a postinstall script to
create a virtualenv. Otherwise I would just give them the application
tarball and a sample Supervisor conf file, with instructions on how to

Well I have rpm and deb users so that narrows the possibilities and the 
variations I will have to do.
I never made a post install script so don't have exact idea.
And I don't know if I can put the same functionality in the setup.py file so 
that the sample file you provided can be put to use with alterations?
may be get it coppyed to a location like /etc or so?
Happy hacking.
Krishnakant.
build the virtualenv and configure Supervisor.



--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to