diff --git a/homeassistant-supervised/DEBIAN/postinst b/homeassistant-supervised/DEBIAN/postinst index 22a406e..fda553e 100755 --- a/homeassistant-supervised/DEBIAN/postinst +++ b/homeassistant-supervised/DEBIAN/postinst @@ -41,7 +41,7 @@ systemctl restart systemd-resolved.service if [ ! -S "/run/systemd-journal-gatewayd.sock" ]; then info "Set up systemd-journal-gatewayd socket file" if [ "$(systemctl is-active systemd-journal-gatewayd.socket)" = 'active' ]; then - systemctl stop systemd-journal-gatewayd.socket> /dev/null 2>&1; + systemctl stop systemd-journal-gatewayd.socket fi rm -rf "/run/systemd-journal-gatewayd.sock"; fi @@ -49,7 +49,7 @@ fi 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; + systemctl start systemd-journal-gatewayd.socket fi # Restart Docker service