Add Dockerfile and root folder from upstream
This commit is contained in:
11
root/etc/cont-init.d/30-config
Normal file
11
root/etc/cont-init.d/30-config
Normal file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# copy config
|
||||
[[ ! -e /config/beets.sh ]] && \
|
||||
cp /defaults/beets.sh /config/beets.sh
|
||||
[[ ! -e /config/config.yaml ]] && \
|
||||
cp /defaults/config.yaml /config/config.yaml
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
/config
|
5
root/etc/services.d/beets/run
Normal file
5
root/etc/services.d/beets/run
Normal file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
umask 022
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc beet web
|
Reference in New Issue
Block a user