diff --git a/homeassistant-supervised/DEBIAN/postinst b/homeassistant-supervised/DEBIAN/postinst index e6332a7..8b03d6b 100755 --- a/homeassistant-supervised/DEBIAN/postinst +++ b/homeassistant-supervised/DEBIAN/postinst @@ -31,6 +31,13 @@ if [ "$(systemctl is-active systemd-resolved)" = 'inactive' ]; then systemctl start systemd-resolved.service> /dev/null 2>&1; fi +# Enable and start systemd-journal-gatewayd +if [ "$(systemctl is-active systemd-journal-gatewayd.socket)" = 'inactive' ]; then + info "Enable systemd-journal-gatewayd" + systemctl enable systemd-journal-gatewayd.socket> /dev/null 2>&1; + systemctl start systemd-journal-gatewayd.socket> /dev/null 2>&1; +fi + # Restart Docker service info "Restarting docker service" systemctl restart "${SERVICE_DOCKER}"