diff options
Diffstat (limited to '')
-rw-r--r-- | etc/systemd/system/var-lib-mpd-music.automount | 9 | ||||
-rw-r--r-- | etc/systemd/system/var-lib-mpd-music.mount | 11 |
2 files changed, 20 insertions, 0 deletions
diff --git a/etc/systemd/system/var-lib-mpd-music.automount b/etc/systemd/system/var-lib-mpd-music.automount new file mode 100644 index 0000000..7314a79 --- /dev/null +++ b/etc/systemd/system/var-lib-mpd-music.automount @@ -0,0 +1,9 @@ +[Unit] +Description=Automount /var/lib/mpd/music + +[Automount] +Where=/var/lib/mpd/music +DirectoryMode=0555 + +[Install] +WantedBy=multi-user.target mpd.service diff --git a/etc/systemd/system/var-lib-mpd-music.mount b/etc/systemd/system/var-lib-mpd-music.mount new file mode 100644 index 0000000..bab6239 --- /dev/null +++ b/etc/systemd/system/var-lib-mpd-music.mount @@ -0,0 +1,11 @@ +[Unit] +Description=MPD music mount +Requires=zfs-mount.service + +[Mount] +What=/media/t/music_clean +Where=/var/lib/mpd/music +Options=bind,ro + +[Install] +WantedBy=multi-user.target |