Re: openrc and python venv

Antonio Gagliarducci <[email protected]> Sun, 12 Apr 2026 17:10:01 +0200
Newsgroups gmane.linux.gentoo.user
Message-ID <[email protected]>
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?
>
>
>