aboutsummaryrefslogtreecommitdiff
path: root/testdata/server_config/ok/etc/lilin/lilin.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/server_config/ok/etc/lilin/lilin.cfg')
-rw-r--r--testdata/server_config/ok/etc/lilin/lilin.cfg19
1 files changed, 19 insertions, 0 deletions
diff --git a/testdata/server_config/ok/etc/lilin/lilin.cfg b/testdata/server_config/ok/etc/lilin/lilin.cfg
new file mode 100644
index 0000000..ef179d4
--- /dev/null
+++ b/testdata/server_config/ok/etc/lilin/lilin.cfg
@@ -0,0 +1,19 @@
+## SPDX-FileCopyrightText: 2025 M. Shulhan <ms@kilabit.info>
+## SPDX-License-Identifier: GPL-3.0-only
+
+[server]
+address = 127.0.0.1:12121
+
+[notif]
+kind = mattermost
+webhook_url = http://127.0.0.1:12000
+channel = chan_1
+down_template = Service {{.ID}} is down: {{.Error}}
+up_template = Service {{.ID}} is up again!
+
+[notif]
+kind = mattermost
+webhook_url = http://127.0.0.1:12001
+channel = chan_2
+down_template = Service {{.ID}} is down: {{.Error}}
+up_template = Service {{.ID}} is alive!