Re: openrc and python venv
William Kenworthy <[email protected]> Mon, 13 Apr 2026 08:29:51 +0800
| Newsgroups | gmane.linux.gentoo.user |
|---|---|
| Organization | me@home |
| Message-ID | <[email protected]> |
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?
>>
>>
>>
>
>
>