Groups | Search | Server Info | Login | Register
Groups > linux.gentoo.user > #116182
| From | William Kenworthy <bill@kenworthy.id.au> |
|---|---|
| Newsgroups | linux.gentoo.user |
| Subject | Re: [gentoo-user] openrc and python venv |
| Date | 2026-04-13 02:40 +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> |
| Organization | me@home |
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