From 8b9eb6eb88d871309348dff1527d69b4b32a98ec Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Sat, 12 Oct 2024 18:23:46 -0500 Subject: refactor: simplify service trait, again --- config.toml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'config.toml') diff --git a/config.toml b/config.toml index 555502f..e91e94f 100644 --- a/config.toml +++ b/config.toml @@ -3,12 +3,16 @@ address = "127.0.0.1:8080" [[services]] name = "tobyvin.dev" -http = { url = "https://tobyvin.dev" } +kind = "http" +url = "https://tobyvin.dev" [[services]] name = "test_cmd" -exec = { command = "stat", args = ["/tmp/test_file"] } +kind = "exec" +command = "stat" +args = ["/tmp/test_file"] [[services]] name = "dns" -tcp = { address = "10.42.0.1:53" } +kind = "tcp" +address = "10.42.0.1:53" -- cgit v1.2.3-70-g09d2