You are not logged in.
Pages: 1
hi, i am having a bit of an issue.
I have a raspberry pi set up with mpd. On this r-pi i mount my NAS via sshfs on boot.
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?
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
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.
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
actually i am not sure if its related now. i changed mpds music_dir to something that is already present but it still doesnt start
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Pages: 1