File tree Expand file tree Collapse file tree 5 files changed +16
-0
lines changed
root/etc/s6-overlay/s6-rc.d Expand file tree Collapse file tree 5 files changed +16
-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+ plugins=$(beet config --default | shyaml get-value plugins)
5+
6+ if [[ " $plugins " == *" drop2beets "* ]]; then
7+ if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
8+ exec \
9+ s6-setuidgid abc beet dropbox
10+ else
11+ exec \
12+ beet dropbox
13+ fi
14+ 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