I got a problem with my OSMC Alpha 4 running on a PI2.
On my other Kodi machine (Intel Nuc) running kodibuntu, I’m using an upstart job to keep track on when to mount my remote nfs mounts. I need them to mount after my tunnel comes up, not necessarily after the openvpn client job have started. Tis is working fine on the ubuntu based kodi with a conf file /etc/init/mount-nfs.conf. This is not working on now on OSMC, due to the lack of upstart support.
Any suggestions on how I can solve this? How can I port this to systemd?
mount NFS share after our tunnel is up
start on net-device-added INTERFACE=tun0
stop on net-device-removed INTERFACE=tun0
Thanks for a great software that keeps getting better.