Merge branch 'main' into fix-networking

This commit is contained in:
Matheson Steplock 2023-10-11 00:54:50 +00:00 committed by GitHub
commit f110afe8fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ systemctl restart systemd-resolved.service
if [ ! -S "/run/systemd-journal-gatewayd.sock" ]; then if [ ! -S "/run/systemd-journal-gatewayd.sock" ]; then
info "Set up systemd-journal-gatewayd socket file" info "Set up systemd-journal-gatewayd socket file"
if [ "$(systemctl is-active systemd-journal-gatewayd.socket)" = 'active' ]; then 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 fi
rm -rf "/run/systemd-journal-gatewayd.sock"; rm -rf "/run/systemd-journal-gatewayd.sock";
fi fi
@ -49,7 +49,7 @@ fi
if [ "$(systemctl is-active systemd-journal-gatewayd.socket)" = 'inactive' ]; then if [ "$(systemctl is-active systemd-journal-gatewayd.socket)" = 'inactive' ]; then
info "Enable systemd-journal-gatewayd" info "Enable systemd-journal-gatewayd"
systemctl enable systemd-journal-gatewayd.socket> /dev/null 2>&1; 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 fi
# Restart Docker service # Restart Docker service