26 lines
921 B
Markdown
26 lines
921 B
Markdown
# List of possible Files and expected Structure
|
|
* CoreModules/`<webserverName>`/
|
|
* conf.sh
|
|
* preconf.sh
|
|
* apt.list
|
|
* appendCMS-conf.sh
|
|
* config/*
|
|
# File Explanation
|
|
| File Name | Description |
|
|
| -------- | ------------ |
|
|
| preconf.sh | Pre config/apt install commands (ex: repo setup) |
|
|
| conf.sh | Configuration for webserver and php |
|
|
| apt.list | packagelist for this webserver and php |
|
|
| appendCMS-conf.sh | Runs when a domain gets added after inital install by appendCMS.sh |
|
|
|
|
# Defining in the menu
|
|
Add the following to ModulesMenu.list
|
|
## For Whiptail
|
|
Add under the previous “webservers+”
|
|
```
|
|
<WebserverName>Options=("<WebserverName>:" "Will install <WebserverName> Webserver." OFF)
|
|
```
|
|
## For legacy
|
|
Add to the “webservers” variable after last entry
|
|
Make sure the the entry is quoted, otherwise the installer will break
|
|
Make sure that <webserver>CMS and <webserver>Options are created |