From f41df9621f35c01755fffe55c881874876d8ee4c Mon Sep 17 00:00:00 2001 From: TheSpad Date: Sun, 31 Jul 2022 21:01:01 +0100 Subject: [PATCH] Add note about defaults --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4afddd3..1dec98f 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ The most common paths to leverage for Linuxserver images are as follows. Assumin ```text . └── root + ├── defaults -- Any default config files you need to copy as part of the mod can be placed here └── etc ├── cont-init.d │ ├── 95-apt-get @@ -90,10 +91,6 @@ The most common paths to leverage for Linuxserver images are as follows. Assumin └── run -- This is the script that runs in the foreground for persistent services. It needs to be `chmod +x`. ``` -* root/etc/cont-init.d/<98-script-name> - Contains init logic scripts that run before the services in the container start these should exit 0 and are ordered by filename -* root/etc/services.d/yourservice/run - Contains scripts that run in the foreground for persistent services IE NGINX -* root/defaults - Contains base config files that are copied/modified on first spinup - #### New (v3) mods The most common paths to leverage for Linuxserver images are as follows. Assuming a mod name of `universal-mymod`: @@ -101,6 +98,7 @@ The most common paths to leverage for Linuxserver images are as follows. Assumin ```text . └── root + ├── defaults -- Any default config files you need to copy as part of the mod can be placed here └── etc └── s6-overlay └── s6-rc.d