mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-03 18:37:42 +01:00
add sonarr
This commit is contained in:
19
sonarr/root/etc/cont-init.d/20-folders
Normal file
19
sonarr/root/etc/cont-init.d/20-folders
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ ! -d /share/storage/tv ]; then
|
||||
echo "Creating /share/storage/tv"
|
||||
mkdir -p /share/storage/tv
|
||||
chown -R abc:abc /share/storage/tv
|
||||
fi
|
||||
|
||||
if [ ! -d /share/downloads ]; then
|
||||
echo "Creating /share/downloads"
|
||||
mkdir -p /share/downloads
|
||||
chown -R abc:abc /share/downloads
|
||||
fi
|
||||
|
||||
if [ ! -d /config/sonarr ]; then
|
||||
echo "Creating /config/sonarr"
|
||||
mkdir -p /config/sonarr
|
||||
chown -R abc:abc /config/sonarr
|
||||
fi
|
||||
Reference in New Issue
Block a user