Skip to content

Commit

Permalink
doc fix: in MOVING-TO-V3, use dependencies.d instead of contents.d
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Bercot <ska@appnovation.com>
  • Loading branch information
skarnet committed Apr 26, 2023
1 parent 03c2fa8 commit 6390cce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MOVING-TO-V3.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ honor shebangs; for the details, look for `weird syntax` in the
+ To get your service _foo_ properly started at container boot time, you need
to add it to the `user` bundle: `touch /etc/s6-overlay/s6-rc.d/user/contents.d/foo`.
Also, to ensure it's started at the proper time, you should make it depend on
`base`: `mkdir /etc/s6-overlay/s6-rc.d/foo/contents.d && touch
/etc/s6-overlay/s6-rc.d/foo/contents.d/base`.
`base`: `mkdir /etc/s6-overlay/s6-rc.d/foo/dependencies.d && touch
/etc/s6-overlay/s6-rc.d/foo/dependencies.d/base`.
- Services are run from their own, temporary, current working directory, instead
of `WORKDIR`; scripts should now use absolute paths instead of paths relative
to `WORKDIR`. The CMD, if any, is still run in `WORKDIR`.
Expand Down

0 comments on commit 6390cce

Please sign in to comment.