How to run nginx.service after /vagrant is mounted
问题 What I want to do? I'm trying to make nginx load configurations from /vagrant mounted by vagrant automatically. So I edited nginx.service to make it boot after shared folder mounted, but it not works. Certainly nginx has been booted after virtualbox-guest-utils.service, however, it seems to be booted before vagrant.mount (/vagrant). Because nginx couldn't load configurations from /vagrant and it works after running command systemctl restart nginx.service manually. How to run .service unit