Services-Personas: fix INI subsection header format to match loader
@@ -12,8 +12,10 @@ See also:
|
||||
- [Custom services](Custom-Services) — BYOS knobs
|
||||
- [Writing a plugin](Writing-a-Service-Plugin) — adding new knobs
|
||||
|
||||
Every snippet below is a `[decky.<slug>]` INI subsection — drop it under the
|
||||
matching `[decky.<name>]` block in your deployment INI.
|
||||
Every snippet below is a `[<decky-name>.<slug>]` INI subsection — drop it
|
||||
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
|
||||
|
||||
@@ -51,7 +53,7 @@ Reads from `service_cfg`:
|
||||
prompt / `uname -n`)
|
||||
|
||||
```ini
|
||||
[decky.01.ssh]
|
||||
[decky-01.ssh]
|
||||
password = P@ssw0rd2019!
|
||||
hostname = mail-gw-03
|
||||
```
|
||||
@@ -64,7 +66,7 @@ Reads from `service_cfg`:
|
||||
- `hostname` — override container hostname
|
||||
|
||||
```ini
|
||||
[decky.02.telnet]
|
||||
[decky-02.telnet]
|
||||
password = cisco
|
||||
hostname = edge-rtr-07
|
||||
```
|
||||
@@ -82,7 +84,7 @@ Reads from `service_cfg`:
|
||||
`/opt/html_files` inside the container
|
||||
|
||||
```ini
|
||||
[decky.03.http]
|
||||
[decky-03.http]
|
||||
server_header = Apache/2.4.41 (Ubuntu)
|
||||
response_code = 200
|
||||
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
|
||||
|
||||
```ini
|
||||
[decky.04.https]
|
||||
[decky-04.https]
|
||||
server_header = nginx/1.18.0
|
||||
response_code = 403
|
||||
fake_app = Jenkins 2.387.3
|
||||
@@ -119,7 +121,7 @@ Reads from `service_cfg`:
|
||||
- `version` — advertised MySQL server version string
|
||||
|
||||
```ini
|
||||
[decky.05.mysql]
|
||||
[decky-05.mysql]
|
||||
version = 5.7.38-log
|
||||
```
|
||||
|
||||
@@ -131,7 +133,7 @@ Reads from `service_cfg`:
|
||||
- `os_string` — advertised OS string in `INFO server` output
|
||||
|
||||
```ini
|
||||
[decky.06.redis]
|
||||
[decky-06.redis]
|
||||
version = 6.2.7
|
||||
os_string = Linux 5.15.0-101-generic x86_64
|
||||
```
|
||||
@@ -144,7 +146,7 @@ Reads from `service_cfg`:
|
||||
- `mta` — advertised MTA software / version
|
||||
|
||||
```ini
|
||||
[decky.07.smtp]
|
||||
[decky-07.smtp]
|
||||
banner = mail.corp.local ESMTP Postfix (Debian/GNU)
|
||||
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
|
||||
|
||||
```ini
|
||||
[decky.08.smtp_relay]
|
||||
[decky-08.smtp_relay]
|
||||
banner = relay.corp.local ESMTP
|
||||
mta = Sendmail 8.15.2
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user