mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-08 00:41:14 -04:00
Fix mod/mods naming
This commit is contained in:
@@ -104,25 +104,25 @@ 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-mods-universal-mymod
|
│ └── init-mod-universal-mymod
|
||||||
├── init-mods-package-install
|
├── init-mods-package-install
|
||||||
│ └── dependencies.d
|
│ └── dependencies.d
|
||||||
│ └── init-mods-universal-mymod
|
│ └── init-mod-universal-mymod
|
||||||
├── init-mods-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 container the string `oneshot`.
|
||||||
│ └── up -- This should contain the absolute path to `run` e.g. `/etc/s6-overlay/s6-rc.d/init-mods-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-mods-universal-mymod
|
├── svc-mod-universal-mymod
|
||||||
│ ├── dependencies.d
|
│ ├── dependencies.d
|
||||||
│ │ └── init-services
|
│ │ └── init-services
|
||||||
│ ├── run -- This is the script that runs in the foreground for persistent services. It needs to be `chmod +x`.
|
│ ├── run -- This is the script that runs in the foreground for persistent services. It needs to be `chmod +x`.
|
||||||
│ └── type -- This should contain the string `longrun`.
|
│ └── type -- This should contain the string `longrun`.
|
||||||
└── user
|
└── user
|
||||||
└── contents.d
|
└── contents.d
|
||||||
├── init-mods-universal-mymod
|
├── init-mod-universal-mymod
|
||||||
└── svc-mods-universal-mymod
|
└── svc-mod-universal-mymod
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: For `oneshot` scripts you can alternatively omit the `run` file entirely and use the [execlineb](https://skarnet.org/software/execline/execlineb.html) syntax in `up` if your requirements are simple enough.
|
Note: For `oneshot` scripts you can alternatively omit the `run` file entirely and use the [execlineb](https://skarnet.org/software/execline/execlineb.html) syntax in `up` if your requirements are simple enough.
|
||||||
@@ -159,7 +159,7 @@ 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-universal-mymod-postinstall
|
└── init-mod-universal-mymod-postinstall
|
||||||
├── dependencies.d
|
├── dependencies.d
|
||||||
│ └── init-mods-package-install
|
│ └── init-mods-package-install
|
||||||
├── run
|
├── run
|
||||||
|
|||||||
Reference in New Issue
Block a user