Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker_notes:init [2024-08-04 Sun wk31 13:27] – [s6 Service Driectories] baumkp | docker_notes:init [2024-10-13 Sun wk41 12:34] (current) – [References] baumkp | ||
---|---|---|---|
Line 26: | Line 26: | ||
The s6-rc service directories are stored at '' | The s6-rc service directories are stored at '' | ||
^ sub-directory | ^ sub-directory | ||
- | | ├── named | *1 | Service, as required | + | | ├── |
- | | │ ├── dependencies.d | + | | │ ├── |
| │ │ ├── base | | │ │ ├── base | ||
| │ │ └── pre_start_script | | │ │ └── pre_start_script | ||
- | | │ ├── producer-for | + | | │ ├── producer-for |
| │ | | │ | ||
- | | │ ├── run | * | File containing the service run script | + | | │ ├── run |* | File containing the service run script |
| │ | | │ | ||
fdmove -c 2 1 | fdmove -c 2 1 | ||
- | / | + | / |
- | | │ ├── timeout-down | + | | │ ├── timeout-down |
- | | │ ├── timeout-up | + | | │ |
- | | │ └── type | + | | │ ├── timeout-up |
+ | | │ | ||
+ | | │ └── type |* |mandatory file containing service type, in this case longrun | ||
+ | | │ | ||
| ├── named-log | | ├── named-log | ||
| │ ├── consumer-for | | │ ├── consumer-for | ||
Line 59: | Line 62: | ||
====s6 commands==== | ====s6 commands==== | ||
++++Basic S6 commands:| | ++++Basic S6 commands:| | ||
- | |||
*'' | *'' | ||
*'' | *'' | ||
Line 72: | Line 74: | ||
++++ | ++++ | ||
+ | =====docker builtin basic init===== | ||
+ | In the docker run command the '' | ||
+ | |||
+ | In docker compose add the directive '' | ||
+ | ++++docker-compose.yml snippet| | ||
+ | < | ||
+ | ntfy: | ||
+ | image: binwiederhier/ | ||
+ | init: true | ||
+ | container_name: | ||
+ | ++++ | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
=====References===== | =====References===== | ||
- | *[[https:// | + | *[[https:// |
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// |