use new s6-rc layout
This commit is contained in:
parent
5cef43fdaa
commit
fc8c0a489f
11 changed files with 25 additions and 14 deletions
2
rootfs/etc/cont-init.d/02-static-user → rootfs/bin/static-user
Normal file → Executable file
2
rootfs/etc/cont-init.d/02-static-user → rootfs/bin/static-user
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv sh
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -z ${STATIC_USER+x} ]; then
|
||||
echo ${STATIC_PASSWORD} | ftpasswd \
|
|
@ -1 +0,0 @@
|
|||
/var/lib/ftp/data/ true proftpd:access 0666 0777
|
2
rootfs/etc/s6-overlay/s6-rc.d/proftpd/dependencies
Normal file
2
rootfs/etc/s6-overlay/s6-rc.d/proftpd/dependencies
Normal file
|
@ -0,0 +1,2 @@
|
|||
confd
|
||||
static-user
|
3
rootfs/etc/s6-overlay/s6-rc.d/proftpd/run
Normal file
3
rootfs/etc/s6-overlay/s6-rc.d/proftpd/run
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec proftpd --nodaemon
|
1
rootfs/etc/s6-overlay/s6-rc.d/proftpd/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/proftpd/type
Normal file
|
@ -0,0 +1 @@
|
|||
longrun
|
1
rootfs/etc/s6-overlay/s6-rc.d/static-user/dependencies
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/static-user/dependencies
Normal file
|
@ -0,0 +1 @@
|
|||
confd
|
1
rootfs/etc/s6-overlay/s6-rc.d/static-user/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/static-user/type
Normal file
|
@ -0,0 +1 @@
|
|||
oneshot
|
1
rootfs/etc/s6-overlay/s6-rc.d/static-user/up
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/static-user/up
Normal file
|
@ -0,0 +1 @@
|
|||
static-user
|
0
rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/proftpd
Normal file
0
rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/proftpd
Normal file
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/with-contenv sh
|
||||
|
||||
exec proftpd --nodaemon
|
Loading…
Add table
Add a link
Reference in a new issue