Copying nfs.mount.sample in the ~/.config/system.d/ and configuring yeilds a successful mount of my NAS server's files on my LibreELEC system via NFS.
Unmounts fail however due to there being no -c option in umount. This causes the system to hang on shutdown (Which is annoying when you're trying to save a buck by shutting down an idle system)
Display Spoiler
● storage-test.mount - test nfs mount script
Loaded: loaded (/storage/.config/system.d/storage-test.mount; disabled; vendor preset: disabled)
Active: active (mounted) (Result: exit-code) since Fri 2017-08-18 01:21:39 NZST; 1s ago
Where: /storage/test
What: 192.168.254.254:/mnt/user/ISOS
Process: 3056 ExecUnmount=/usr/bin/umount /storage/test -c (code=exited, status=1/FAILURE)
Process: 3034 ExecMount=/usr/bin/mount 192.168.254.254:/mnt/user/ISOS /storage/test -t nfs (code=exited, status=0/SUCCESS)
CGroup: /system.slice/storage-test.mount
Aug 18 01:21:30 RyanHTPC systemd[1]: Mounting test nfs mount script...
Aug 18 01:21:30 RyanHTPC systemd[1]: Mounted test nfs mount script.
Aug 18 01:21:39 RyanHTPC systemd[1]: Unmounting test nfs mount script...
Aug 18 01:21:39 RyanHTPC systemd[1]: storage-test.mount: Mount process exited, code=exited status=1
Aug 18 01:21:39 RyanHTPC systemd[1]: Failed unmounting test nfs mount script.
umount command:
Display Spoiler
RyanHTPC:~/.config/system.d # umount /storage/test -c
umount: invalid option -- 'c'
BusyBox v1.26.2 (2017-07-28 19:38:17 CEST) multi-call binary.
Usage: umount [OPTIONS] FILESYSTEM|DIRECTORY
Unmount file systems
-a Unmount all file systems
-r Try to remount devices as read-only if mount is busy
-l Lazy umount (detach filesystem)
-f Force umount (i.e., unreachable NFS server)
-D Don't free loop device even if it has been use
It seems that either systemd needs to be patched to not use -c or the version of umount in LibreELEC needs to be updated to a version with the -c flag (Or have this option enabled)
This also seems to occur with CIFS mounts, however I cannot confirm if its the same -c option causing the unmount issue.