This commit is contained in:
2018-12-11 07:57:00 +01:00
parent 50e9088de5
commit 8ee0d34328
3 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bash
while [ ! -f "/config/config.json" ] || [ ! -f "/config/token.json" ]
while [ ! -f "/etc/plexdrv/config.json" ] || [ ! -f "/etc/plexdrv/token.json" ]
do
echo "Waiting for plexdrive configuration files ..."
sleep 30
@@ -10,7 +10,7 @@ umask 022
IFS=" " read -r -a RUN_ARRAY <<< "$RUN_OPTS"
mount_command="plexdrive mount -c /config/ --cache-file=/cache/cache.bolt -v 3 --umask=0777 --chunk-size=100M --uid=$PLEX_UID --gid=$PLEX_GID -o allow_other /encrypted ${RUN_ARRAY[@]}"
mount_command="plexdrive mount -c /etc/plexdrv/ --cache-file=/cache/cache.bolt -v 3 --umask=0777 --chunk-size=100M --uid=$PLEX_UID --gid=$PLEX_GID -o allow_other /encrypted ${RUN_ARRAY[@]}"
echo "Executing => $mount_command"
mkdir /encrypted /decrypted