use new s6-rc layout
This commit is contained in:
parent
44f4af8349
commit
9160d81961
11 changed files with 21 additions and 23 deletions
|
@ -1 +0,0 @@
|
|||
/var/lib/redis/ true redis 0640 0750
|
1
rootfs/etc/s6-overlay/s6-rc.d/koreader-sync/dependencies
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/koreader-sync/dependencies
Normal file
|
@ -0,0 +1 @@
|
|||
confd
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv sh
|
||||
#!/bin/sh
|
||||
|
||||
cd /app/server
|
||||
s6-setuidgid syncer gin start
|
1
rootfs/etc/s6-overlay/s6-rc.d/koreader-sync/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/koreader-sync/type
Normal file
|
@ -0,0 +1 @@
|
|||
longrun
|
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/with-contenv sh
|
||||
#!/bin/sh
|
||||
|
||||
exec s6-setuidgid redis redis-server /etc/redis.conf
|
1
rootfs/etc/s6-overlay/s6-rc.d/redis/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/redis/type
Normal file
|
@ -0,0 +1 @@
|
|||
longrun
|
0
rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/redis
Normal file
0
rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/redis
Normal file
Loading…
Add table
Add a link
Reference in a new issue