Groups | Search | Server Info | Login | Register
Groups > linux.gentoo.user > #116182
| Path | csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | William Kenworthy <bill@kenworthy.id.au> |
| Newsgroups | linux.gentoo.user |
| Subject | Re: [gentoo-user] openrc and python venv |
| Date | Mon, 13 Apr 2026 02:40:01 +0200 |
| Message-ID | <MJdvj-eHW5-3@gated-at.bofh.it> (permalink) |
| References | <MIYZj-ey5p-9@gated-at.bofh.it> <MJ4Ln-eC23-3@gated-at.bofh.it> |
| Authentication-Results | fe.s3.ax.email; dkim=pass header.d=kenworthy.id.au header.b="LDUKdJi7" |
| Authentication-Results | be4.s3.ax.email; dkim=none |
| Authentication-Results | be4.s3.ax.email; spf=pass smtp.mailfrom=bill@kenworthy.id.au |
| Authentication-Results | fe.s1.ax.email; dkim=none |
| List-ID | Gentoo Linux mail <gentoo-user.gentoo.org> |
| Reply-To | gentoo-user@lists.gentoo.org |
| X-Auto-Response-Suppress | DR, RN, NRN, OOF, AutoReply |
| MIME-Version | 1.0 |
| User-Agent | Mozilla Thunderbird |
| Content-Language | en-AU, en-US |
| Organization | me@home |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Domainkey-Status | no signature |
| Dkim-Status | good |
| X-Axigen-Dk-Result | No records |
| X-Axigen-Dkim-Result | Ok |
| Approved | robomod@news.nic.it |
| Lines | 43 |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 13 Apr 2026 08:29:51 +0800 |
| X-Original-Message-ID | <c817e45f-fe47-44a4-aa2c-b4ad10c195b9@kenworthy.id.au> |
| X-Original-References | <7ca0d5a1-1ac1-4fb5-9eda-2f7ae295bdbb@kenworthy.id.au> <17888135-d084-4c50-80a5-ccddd06f0386@gmail.com> |
| Xref | csiph.com linux.gentoo.user:116182 |
Show key headers only | View raw
Brilliant, worked out-of-the-box! - it makes a lot of sense now as to
why I couldn't get it to work.
Thankyou!
BillK
On 12/4/26 23:10, Antonio Gagliarducci wrote:
> Try to do this:
>
> https://gemini.google.com/share/bcdc93f13c21
>
> (sorry for the slop)
>
> Kind regards
> Antonio
>
> On 4/12/26 10:59, William Kenworthy wrote:
>> Hi,
>>
>> On an openrc system I am manually starting an instance of
>> homeassistant installed in a python venv.
>>
>> The process is:
>>
>> login as the homeassistant user, set the PATH and activate the venv
>> before running the application.
>>
>> e.g.
>> export
>> PATH="${PATH}:/var/lib/homeassistant:/var/lib/homeassistant/bin:/var/lib/homeassistant/.local/bin
>> source /var/lib/homeassistant/bin/activate
>> ./bin/hass
>>
>> I tried to get it to start using an openrc service file a few months
>> back and failed. Can this be done in a service file?
>>
>>
>>
>
>
>
Back to linux.gentoo.user | Previous | Next — Previous in thread | Find similar
[gentoo-user] openrc and python venv William Kenworthy <bill@kenworthy.id.au> - 2026-04-12 11:10 +0200
Re: [gentoo-user] openrc and python venv Antonio Gagliarducci <gagliarducci.antonio@gmail.com> - 2026-04-12 17:20 +0200
Re: [gentoo-user] openrc and python venv William Kenworthy <bill@kenworthy.id.au> - 2026-04-13 02:40 +0200
csiph-web