From 64403c82bc360ae3fa4c4e7e25e4b0802909b5ae Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Mon, 24 Jul 2023 17:56:53 +0200 Subject: [PATCH] add: owner & owner groups custom var pass --- commands.d/signal-notify.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/commands.d/signal-notify.conf b/commands.d/signal-notify.conf index a883271..107cc6a 100644 --- a/commands.d/signal-notify.conf +++ b/commands.d/signal-notify.conf @@ -61,6 +61,14 @@ object NotificationCommand "signal-service-notification" { required = true value = "$notification_signal_gateway_proto$" } + "--owners" = { + required = false + value = "$notification_owners$" + } + "--owner-groups" = { + required = false + value = "$notification_owner_groups$" + } } vars += { @@ -80,6 +88,9 @@ object NotificationCommand "signal-service-notification" { notification_signal_gateway_host = signal_gateway_host notification_signal_gateway_port = signal_gateway_port notification_signal_gateway_proto = signal_gateway_proto + + notification_owners = "$service.vars.owner$" + notification_owner_groups = "$service.vars.owner_groups$" } }