mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-24 18:40:03 +08:00
feat: update s6-overlay config file to v3
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
function __fixuser {
|
||||
|
||||
groupmod -o -g "${PGID}" ab
|
||||
usermod -o -u "${PUID}" ab
|
||||
|
||||
chown ab:ab -R /app /ab
|
||||
|
||||
}
|
||||
|
||||
__fixuser 2>&1 | sed "s#^#cont-init: info: $(realpath $0): &#g"
|
||||
7
docker/etc/s6-overlay/s6-rc.d/init-fixuser/run
Normal file
7
docker/etc/s6-overlay/s6-rc.d/init-fixuser/run
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
groupmod -o -g "${PGID}" ab
|
||||
usermod -o -u "${PUID}" ab
|
||||
|
||||
chown ab:ab -R /app /ab
|
||||
1
docker/etc/s6-overlay/s6-rc.d/init-fixuser/type
Normal file
1
docker/etc/s6-overlay/s6-rc.d/init-fixuser/type
Normal file
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
1
docker/etc/s6-overlay/s6-rc.d/init-fixuser/up
Normal file
1
docker/etc/s6-overlay/s6-rc.d/init-fixuser/up
Normal file
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-fixuser/run
|
||||
1
docker/etc/s6-overlay/s6-rc.d/init-old-compatible/type
Normal file
1
docker/etc/s6-overlay/s6-rc.d/init-old-compatible/type
Normal file
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
1
docker/etc/s6-overlay/s6-rc.d/init-old-compatible/up
Normal file
1
docker/etc/s6-overlay/s6-rc.d/init-old-compatible/up
Normal file
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-old-compatible/run
|
||||
1
docker/etc/s6-overlay/s6-rc.d/svc-autobangumi/type
Normal file
1
docker/etc/s6-overlay/s6-rc.d/svc-autobangumi/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
||||
Reference in New Issue
Block a user