On Centos 7 after reboot
How can I make sure NGINX is only started after the glusterFS mount is completed?
I tried adding a line to rc.local but nginx fails to start and the directory is not mounted at all after reboot. This is the mount command.
/usr/sbin/mount.glusterfs localhost:/Replicatedvolume /home -o direct-io-mode=enable
which works when I run it manually and then start nginx/
thank you