add nfs-utils.service

This commit is contained in:
Matheson Steplock 2023-10-02 02:31:46 +00:00 committed by GitHub
parent 969e955fe9
commit 20776dd9f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,12 @@ if [ "$(systemctl is-active systemd-journal-gatewayd.socket)" = 'inactive' ]; th
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> /dev/null 2>&1;
fi fi
# Enable and start nfs-utils.service for nfs mounts
if [ "$(systemctl is-active nfs-utils.service)" = 'inactive' ]; then
info "Enable nfs-utils.service"
systemctl enable nfs-utils.service> /dev/null 2>&1;
systemctl start nfs-utils.service> /dev/null
fi
# Restart Docker service # Restart Docker service
info "Restarting docker service" info "Restarting docker service"