Because you need to order it after the mount, not the automount.
If by this you mean
After=home-carnager-Music.mount
it doesnt work.
]]>Problem now is, that my mpd startup fails, because the mountpoint is not ready yet.
the mount works fine:
Jan 01 01:00:05 alarmpi systemd[1]: Starting home-carnager-Music.automount.
Jan 01 01:00:05 alarmpi systemd[1]: Set up automount home-carnager-Music.automount.
but mpd does not:
Jun 01 12:57:04 alarmpi mpd[316]: Failed to stat directory "/home/carnager/Music/Rips": No such file or directory
Jun 01 13:20:42 alarmpi systemd[1]: mpd.service: main process exited, code=dumped, status=6/ABRT
I tried to put
After=home-carnager-Music.automount
to my mpd.service file, but it does not help.
Any ideas?
]]>