add nfs-utils.service
This commit is contained in:
parent
969e955fe9
commit
20776dd9f5
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue