r/homeassistant et al.: Increase start timeout

The first time launching a container after pulling a new image, it can
take several minutes for the container to actually start.  Podman has to
set up the overlay filesystems, which is very slow on a Raspberry Pi.

With the default start timeout, systemd may end up killing the process
before the container is completely set up.  Thus, we need to increase
the timeout to ensure there is plenty of time for Podman to work.
ntfy
Dustin 2021-12-20 09:59:14 -06:00
parent f8e3bdade0
commit e55fc8f5af
3 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,7 @@ ExecStart=/usr/bin/podman run \
ghcr.io/home-assistant/{{ homeassistant_image_name }}:stable
ProtectSystem=full
UMask=0077
TimeoutStartSec=5min
[Install]
WantedBy=multi-user.target

View File

@ -24,6 +24,7 @@ ExecStart=/usr/bin/podman run \
docker.io/koenkk/zigbee2mqtt:latest
ProtectSystem=full
UMask=0077
TimeoutStartSec=5min
[Install]
WantedBy=multi-user.target

View File

@ -24,6 +24,7 @@ ExecStart=/usr/bin/podman run \
docker.io/zwavejs/zwavejs2mqtt:latest
ProtectSystem=full
UMask=0077
TimeoutStartSec=5min
[Install]
WantedBy=multi-user.target