File tree Expand file tree Collapse file tree 5 files changed +18
-0
lines changed
root/etc/s6-overlay/s6-rc.d Expand file tree Collapse file tree 5 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ init_diagram: |
8383 "beets:latest" <- Base Images
8484# changelog
8585changelogs :
86+ - {date: "30.12.25:", desc: "Add s6 overlay for drop2beets"}
8687 - {date: "30.12.25:", desc: "Check if plugin web is enabled before running"}
8788 - {date: "27.01.25:", desc: "Rebase to Alpine 3.21."}
8889 - {date: "01.10.24:", desc: "Add packages required for Discogs plugin."}
Original file line number Diff line number Diff line change 1+ #!/usr/bin/with-contenv bash
2+ # shellcheck shell=bash
3+
4+ if pip show drop2beets >/dev/null 2>&1; then
5+ plugins=$(beet config --default | shyaml get-value plugins)
6+
7+ if [[ " $plugins " == *" drop2beets "* ]]; then
8+ if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
9+ exec \
10+ s6-setuidgid abc beet dropbox
11+ else
12+ exec \
13+ beet dropbox
14+ fi
15+ fi
16+ fi
Original file line number Diff line number Diff line change 1+ longrun
You can’t perform that action at this time.
0 commit comments