Enable and start systemd-journal-gatewayd.socket
This commit is contained in:
parent
70ac119cd5
commit
4e1427f6f6
1 changed files with 7 additions and 0 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue