File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
root/etc/s6-overlay/s6-rc.d Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 44# Make sure required directories exist
55# ------------------------------------------------------------------------------------------------------------------------
66
7- mkdir -p /config/processed_books/converted
8- mkdir -p /config/processed_books/imported
9- mkdir -p /config/processed_books/failed
10- mkdir -p /config/processed_books/fixed_originals
11- mkdir -p /config/log_archive
12- mkdir -p /config/.cwa_conversion_tmp
7+ install -d -o abc -g abc /config/processed_books/converted
8+ install -d -o abc -g abc /config/processed_books/imported
9+ install -d -o abc -g abc /config/processed_books/failed
10+ install -d -o abc -g abc /config/processed_books/fixed_originals
11+ install -d -o abc -g abc /config/log_archive
12+ install -d -o abc -g abc /config/.cwa_conversion_tmp
13+
14+ # For Calibre Plugins
15+ install -d -o abc -g abc /config/.config/calibre/plugins
16+ ln -sf /config/.config/calibre/plugins /config/calibre_plugins
1317
1418# ------------------------------------------------------------------------------------------------------------------------
1519# Remove any leftover lock files
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ WATCH_FOLDER="/app/calibre-web-automated/metadata_change_logs"
77echo " [metadata-change-detector] Watching folder: $WATCH_FOLDER "
88
99# Create the folder if it doesn't exist
10- mkdir -p " $WATCH_FOLDER "
10+ install -d -o abc -g abc " $WATCH_FOLDER "
1111
1212# Monitor the folder for new files
1313s6-setuidgid abc inotifywait -m -e close_write -e moved_to --exclude ' ^.*\.(swp)$' " $WATCH_FOLDER " |
You can’t perform that action at this time.
0 commit comments