Create music directory is it doesn't exist
This commit is contained in:
parent
0c9bb21c94
commit
ff4a8f2823
|
@ -7189,8 +7189,11 @@ Add the following:
|
|||
|
||||
#+BEGIN_SRC: bash
|
||||
#!/bin/bash
|
||||
if [ ! -d /var/music ]; then
|
||||
mkdir /var/music
|
||||
fi
|
||||
mount /dev/sda1 /var/music
|
||||
chown -R root:root /var/music
|
||||
chown root:root /var/music
|
||||
chown -R subsonic:subsonic /var/music/*
|
||||
#+END_SRC
|
||||
|
||||
|
|
Loading…
Reference in New Issue