mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-20 10:21:36 -04:00
Improve clarity and formatting
This commit is contained in:
@@ -104,15 +104,15 @@ The most common paths to leverage for Linuxserver images are as follows. Assumin
|
|||||||
└── s6-rc.d
|
└── s6-rc.d
|
||||||
├── init-mods-end
|
├── init-mods-end
|
||||||
│ └── dependencies.d
|
│ └── dependencies.d
|
||||||
│ └── init-mod-universal-mymod
|
│ └── init-mod-universal-mymod -- If your mod does not need to install packages it should be a dependency of init-mods-end
|
||||||
├── init-mods-package-install
|
├── init-mods-package-install
|
||||||
│ └── dependencies.d
|
│ └── dependencies.d
|
||||||
│ └── init-mod-universal-mymod
|
│ └── init-mod-universal-mymod -- If your mod needs to install packages it should be a dependency of init-mods-package-install
|
||||||
├── init-mod-universal-mymod
|
├── init-mod-universal-mymod
|
||||||
│ ├── dependencies.d
|
│ ├── dependencies.d
|
||||||
│ │ └── init-mods
|
│ │ └── init-mods
|
||||||
│ ├── run -- This is the init logic script that runs before the services in the container. It needs to be `chmod +x`.
|
│ ├── run -- This is the init logic script that runs before the services in the container. It needs to be `chmod +x`.
|
||||||
│ ├── type -- This should container the string `oneshot`.
|
│ ├── type -- This should contain the string `oneshot`.
|
||||||
│ └── up -- This should contain the absolute path to `run` e.g. `/etc/s6-overlay/s6-rc.d/init-mod-universal-mymod/run`.
|
│ └── up -- This should contain the absolute path to `run` e.g. `/etc/s6-overlay/s6-rc.d/init-mod-universal-mymod/run`.
|
||||||
├── svc-mod-universal-mymod
|
├── svc-mod-universal-mymod
|
||||||
│ ├── dependencies.d
|
│ ├── dependencies.d
|
||||||
@@ -151,7 +151,7 @@ if [ -f /sbin/apk ]; then
|
|||||||
fi
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
If your mod needs to take additional config steps *after* the packages have been installed, add a second `oneshot` script and make it depend on `init-mods-package-install` e.g.
|
If your mod needs to take additional config steps *after* the packages have been installed, add a second `oneshot` script and make it depend on `init-mods-package-install` and add it as a dependency of `init-mods-end` e.g.
|
||||||
|
|
||||||
```text
|
```text
|
||||||
.
|
.
|
||||||
@@ -159,6 +159,9 @@ If your mod needs to take additional config steps *after* the packages have been
|
|||||||
└── etc
|
└── etc
|
||||||
└── s6-overlay
|
└── s6-overlay
|
||||||
└── s6-rc.d
|
└── s6-rc.d
|
||||||
|
├── init-mods-end
|
||||||
|
│ └── dependencies.d
|
||||||
|
│ └── init-mod-universal-mymod-postinstall
|
||||||
└── init-mod-universal-mymod-postinstall
|
└── init-mod-universal-mymod-postinstall
|
||||||
├── dependencies.d
|
├── dependencies.d
|
||||||
│ └── init-mods-package-install
|
│ └── init-mods-package-install
|
||||||
|
|||||||
Reference in New Issue
Block a user