Enable and start systemd-journal-gatewayd.socket

This commit is contained in:
Matheson Steplock 2022-09-14 03:14:16 +00:00 committed by GitHub
parent 70ac119cd5
commit 4e1427f6f6

View file

@ -31,6 +31,13 @@ if [ "$(systemctl is-active systemd-resolved)" = 'inactive' ]; then
systemctl start systemd-resolved.service> /dev/null 2>&1; systemctl start systemd-resolved.service> /dev/null 2>&1;
fi 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 # Restart Docker service
info "Restarting docker service" info "Restarting docker service"
systemctl restart "${SERVICE_DOCKER}" systemctl restart "${SERVICE_DOCKER}"