diff options
author | Ryan Kavanagh <rak@rak.ac> | 2022-10-06 10:16:12 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2022-10-06 10:16:12 -0400 |
commit | e7498676662e0612da0c428143a4e4a79ccf9891 (patch) | |
tree | d87dfa7fbb71e8b69460e707f05a3e51ad62b4f2 | |
parent | avoid custom keybindings from getting overridden in zsh (diff) |
/var/lib/mpd/music automounter
-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 |