Problem
Need to start F24 server in this order
1. network
2. openvpn client
3. fstab mount over vpn tunnel

By using x-systemd.automount, the startup works because the mounts only occur on first use.

At shutdown, it is important to unmount before closing openvpn client otherwise system hangs.

The only solution that I have is to manually umount before a shutdown. Ideally, the unmount job at shutdown should execute before openvpn client is closed.

How done?