Services-Personas: fix INI subsection header format to match loader
@@ -12,8 +12,10 @@ See also:
|
|||||||
- [Custom services](Custom-Services) — BYOS knobs
|
- [Custom services](Custom-Services) — BYOS knobs
|
||||||
- [Writing a plugin](Writing-a-Service-Plugin) — adding new knobs
|
- [Writing a plugin](Writing-a-Service-Plugin) — adding new knobs
|
||||||
|
|
||||||
Every snippet below is a `[decky.<slug>]` INI subsection — drop it under the
|
Every snippet below is a `[<decky-name>.<slug>]` INI subsection — drop it
|
||||||
matching `[decky.<name>]` block in your deployment INI.
|
alongside the matching `[<decky-name>]` block (or `[<archetype>]` group
|
||||||
|
block) in your deployment INI. See [INI format](INI-Config-Format) for the
|
||||||
|
subsection-inheritance rules.
|
||||||
|
|
||||||
## Services with no INI knobs
|
## Services with no INI knobs
|
||||||
|
|
||||||
@@ -51,7 +53,7 @@ Reads from `service_cfg`:
|
|||||||
prompt / `uname -n`)
|
prompt / `uname -n`)
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[decky.01.ssh]
|
[decky-01.ssh]
|
||||||
password = P@ssw0rd2019!
|
password = P@ssw0rd2019!
|
||||||
hostname = mail-gw-03
|
hostname = mail-gw-03
|
||||||
```
|
```
|
||||||
@@ -64,7 +66,7 @@ Reads from `service_cfg`:
|
|||||||
- `hostname` — override container hostname
|
- `hostname` — override container hostname
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[decky.02.telnet]
|
[decky-02.telnet]
|
||||||
password = cisco
|
password = cisco
|
||||||
hostname = edge-rtr-07
|
hostname = edge-rtr-07
|
||||||
```
|
```
|
||||||
@@ -82,7 +84,7 @@ Reads from `service_cfg`:
|
|||||||
`/opt/html_files` inside the container
|
`/opt/html_files` inside the container
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[decky.03.http]
|
[decky-03.http]
|
||||||
server_header = Apache/2.4.41 (Ubuntu)
|
server_header = Apache/2.4.41 (Ubuntu)
|
||||||
response_code = 200
|
response_code = 200
|
||||||
fake_app = phpMyAdmin 4.9.5
|
fake_app = phpMyAdmin 4.9.5
|
||||||
@@ -105,7 +107,7 @@ Reads from `service_cfg` — same as `http`, plus TLS overrides:
|
|||||||
- `tls_cn` — Common Name for a self-signed cert generated at startup
|
- `tls_cn` — Common Name for a self-signed cert generated at startup
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[decky.04.https]
|
[decky-04.https]
|
||||||
server_header = nginx/1.18.0
|
server_header = nginx/1.18.0
|
||||||
response_code = 403
|
response_code = 403
|
||||||
fake_app = Jenkins 2.387.3
|
fake_app = Jenkins 2.387.3
|
||||||
@@ -119,7 +121,7 @@ Reads from `service_cfg`:
|
|||||||
- `version` — advertised MySQL server version string
|
- `version` — advertised MySQL server version string
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[decky.05.mysql]
|
[decky-05.mysql]
|
||||||
version = 5.7.38-log
|
version = 5.7.38-log
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -131,7 +133,7 @@ Reads from `service_cfg`:
|
|||||||
- `os_string` — advertised OS string in `INFO server` output
|
- `os_string` — advertised OS string in `INFO server` output
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[decky.06.redis]
|
[decky-06.redis]
|
||||||
version = 6.2.7
|
version = 6.2.7
|
||||||
os_string = Linux 5.15.0-101-generic x86_64
|
os_string = Linux 5.15.0-101-generic x86_64
|
||||||
```
|
```
|
||||||
@@ -144,7 +146,7 @@ Reads from `service_cfg`:
|
|||||||
- `mta` — advertised MTA software / version
|
- `mta` — advertised MTA software / version
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[decky.07.smtp]
|
[decky-07.smtp]
|
||||||
banner = mail.corp.local ESMTP Postfix (Debian/GNU)
|
banner = mail.corp.local ESMTP Postfix (Debian/GNU)
|
||||||
mta = Postfix 3.5.13
|
mta = Postfix 3.5.13
|
||||||
```
|
```
|
||||||
@@ -158,7 +160,7 @@ Inherits the `smtp` template with `SMTP_OPEN_RELAY=1` hard-wired. Reads from
|
|||||||
- `mta` — advertised MTA software / version
|
- `mta` — advertised MTA software / version
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[decky.08.smtp_relay]
|
[decky-08.smtp_relay]
|
||||||
banner = relay.corp.local ESMTP
|
banner = relay.corp.local ESMTP
|
||||||
mta = Sendmail 8.15.2
|
mta = Sendmail 8.15.2
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user