This repository has been archived on 2025-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
Files
home-assistant-yellow/yellow/overlay/etc/tmpfiles.d/homeassistant.conf
Dustin C. Hatch b1afb4adf1 Configure Home Assistant Podman container
The default Home Assistant configuration does not allow running a
reverse proxy in front of the application.  To enable this, the
`use_x_forwarded_for` and `trusted_proxies` options have to be set.

Since we want `/var/lib/homeassistant` to be a Btrfs subvolume, we can't
simply include the necessary files in the correct location in the rootfs
image.  Instead, we must define "copy tree" (`C`) actions for
`systemd-tmpfiles` to copy them from `/usr/share/factory`.
Unfortunately, `systemd-tmpfiles` considers `v` and `C` actions
conflicting, and thus will not copy the directory contents recursively.
Each file has to be listed explicitly.
2023-03-30 08:56:14 -05:00

9 lines
389 B
Plaintext

v /var/lib/homeassistant 0700 homeassistant homeassistant - -
C /var/lib/homeassistant/automations.yaml - - - -
C /var/lib/homeassistant/configuration.yaml - - - -
C /var/lib/homeassistant/groups.yaml - - - -
C /var/lib/homeassistant/http.yaml - - - -
C /var/lib/homeassistant/scenes.yaml - - - -
C /var/lib/homeassistant/scripts.yaml - - - -
C /var/lib/homeassistant/secrets.yaml - - - -