Skip to content

Commit

Permalink
Update 99-run.sh
Browse files Browse the repository at this point in the history
alexbelgium authored Nov 22, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent fbf240e commit 925a53f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paperless_ngx/rootfs/etc/cont-init.d/99-run.sh
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@ if bashio::config.has_value "PAPERLESS_EXPORT_DIR"; then export PAPERLESS_EXPORT
# Create folder and permissions if needed
chown -R paperless:paperless /config
for variable in "$PAPERLESS_DATA_DIR" "$PAPERLESS_MEDIA_ROOT" "$PAPERLESS_CONSUMPTION_DIR" "$PAPERLESS_EXPORT_DIR"; do
echo "Creating directory \"$variable\""
mkdir -p "\"$variable\""
chmod -R 755 "\"$variable\""
chown -R paperless:paperless "\"$variable\""

0 comments on commit 925a53f

Please sign in to comment.