update HA service

This commit is contained in:
aptalca 2023-06-07 21:43:36 -04:00
parent 783495efa1
commit 89ad47ec9a
No known key found for this signature in database
GPG Key ID: BE36CFFB9FD85548

View File

@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
setcap 'cap_net_bind_service=+ep' /usr/bin/python3.10
setcap 'cap_net_bind_service=+ep' /lsiopy/bin/python3.11
exec \
s6-notifyoncheck -d -n 60 -w 5000 -c "nc -z localhost 8123" \
s6-setuidgid abc /usr/bin/hass -c /config
s6-setuidgid abc /lsiopy/bin/hass -c /config