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
parent
f8e3bdade0
commit
e55fc8f5af
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue