On Wed, 9 Jan 2019 at 00:16, Mark Sapiro <mark@msapiro.net> wrote:
On 1/8/19 10:03 AM, Odhiambo Washington wrote:
Thank you for clarifying. So once I have a venv created, the services will just run as long as the startup scripts are running even when I'm logged out of the system?
As long as the startup scripts actually reference things in the venv.
If you look at the samples in the Recommended Configuration section at <https://wiki.list.org/x/17891998> for
/opt/mailman/mm/bin/django-admin (sample) Script to run Django management commands.
/opt/mailman/mm/bin/mailman (sample) Script to run mailman commands.
and
/opt/mailman/mm/bin/gunicorn (sample) Script to start Gunicorn.
You will see they all do things like activate the venv or run a command from venv/bin.
Now that has clarified the matter for me. That even when I am logged out, the scripts do the neccessary to activate the venv to run things. I hadn't looked at the scripts at all.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)