Dear David,

How do you start homeassistant after a reboot? Manually?

-----Oorspronkelijk bericht-----
Van: David Gwynne <da...@gwynne.id.au>
Aan: pas...@pascallen.nl <pas...@pascallen.nl>
Cc: misc@openbsd.org
Onderwerp: Re: Home Assistant
Datum: Mon, 10 May 2021 19:31:50 +1000
E-mailprogramma: Mutt/1.12.2 (2019-09-21)

ive been running hass on openbsd for a while now, and just did a
newinstall on 6.9 for my boss on the weekend.
i set up a _hass user for it to run as, and gave it /opt/hass:
hass$ getent passwd _hass_hass:*:2000:2000:Home
Assistant:/opt/hass:/sbin/nologinhass$ getent group
2000_hass:*:2000hass$ ls -ld /opt/hassdrwxr-xr-x  8 _hass  _hass  512
May  8 22:35 /opt/hass
i installed mosquitto, python3.8, py3-virtualenv, py3-pip,py3-
cryptography, py3-Pillow, and py3-zeroconf from ports. thenas the _hass
users i set up a venv in /opt/hass with virtualenv--system-site-
packages /opt/hass, did the . /opt/hass/bin/activatething, then ran pip
install homeassistant.
that got me far enough stuff to be able to start home assistant.
you'reon your own after this.
good luck.
dlg
On Sat, May 08, 2021 at 06:53:54PM +0200, pas...@pascallen.nl wrote:
> Dear all,
> What would be the best way to install HASS on Openbsd?Containers are
> a nogo?
> Run it in virtual env from python?
> Any Howto on the subject with Openbsd?
> 
> Currently I got it running as from the website with the "core"
> version.But a startup script which runs with a non-root user is where
> I getstuck.
> 
> 
> 
> -- Met vriendelijke groet,
> Pascal Huisman
> 
> Fundamentally, there may be no basis for anything.


-- 
Met vriendelijke groet,

Pascal Huisman


Elbonics, n.:
        The actions of two people maneuvering for one armrest in a movie
        theatre.
                -- "Sniglets", Rich Hall & Friends

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to