summaryrefslogtreecommitdiffstats
path: root/config.toml
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-10-12 12:58:51 -0500
committerToby Vincent <tobyv@tobyvin.dev>2024-10-12 12:58:51 -0500
commit0ea877c5d0de10b45768da80c658785835d625e6 (patch)
tree38a5c6209e2063753f43e037e93a7e381bde16dd /config.toml
parent859fd855e1a819280931ffbb6ae98098b2774269 (diff)
fix: preserve configured service order
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml15
1 files changed, 11 insertions, 4 deletions
diff --git a/config.toml b/config.toml
index 00a0866..555502f 100644
--- a/config.toml
+++ b/config.toml
@@ -1,7 +1,14 @@
serve_dir = "assets"
address = "127.0.0.1:8080"
-[services]
-"tobyvin.dev" = { url = "https://tobyvin.dev" }
-test_cmd = { command = "stat", args = ["/tmp/test_file"] }
-dns = { address = "10.42.0.1:53" }
+[[services]]
+name = "tobyvin.dev"
+http = { url = "https://tobyvin.dev" }
+
+[[services]]
+name = "test_cmd"
+exec = { command = "stat", args = ["/tmp/test_file"] }
+
+[[services]]
+name = "dns"
+tcp = { address = "10.42.0.1:53" }