From: | Julien Roy <julien@××××.ca> |
---|---|
To: | Gentoo User <gentoo-user@l.g.o> |
Subject: | [gentoo-user] Source Python virtualenv in OpenRC script |
Date: | Sat, 11 Dec 2021 23:54:05 |
Message-Id: | Mqfue53--3-2@jroy.ca |
1 | Hello, |
2 | |
3 | I am trying to create an OpenRC script to start a python module. |
4 | To launch the module manually, what I would do is: |
5 | cd $moduleDir |
6 | source bin/activate |
7 | python -m $module |
8 | |
9 | How can I integrate this in an OpenRC script? Do I need to write my own start function or is there a built-in way to do this? |
10 | |
11 | Thanks, |
12 | Julien |
Subject | Author |
---|---|
Re: [gentoo-user] Source Python virtualenv in OpenRC script | Manuel McLure <manuel@××××××.org> |