From b287fcf48bf90d730d813e67755010efa346ced8 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 6 Jan 2024 18:40:56 +0200 Subject: fix: add missing types for python lib/daemon.yaml Signed-off-by: Lars Wirzenius Sponsored-by: author --- share/python/lib/daemon.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'share') diff --git a/share/python/lib/daemon.yaml b/share/python/lib/daemon.yaml index 25b6007..a7e08c7 100644 --- a/share/python/lib/daemon.yaml +++ b/share/python/lib/daemon.yaml @@ -24,6 +24,11 @@ - when: I start "(?P[^ "]+)(?P[^"]*)" as a background process as (?P[^,]+), on port (?P\d+), with environment (?P.*) regex: true + types: + path: path + name: text + port: uint + env: text impl: python: function: daemon_start_on_port @@ -43,6 +48,12 @@ - when: I try to start "(?P[^ "]+)(?P[^"]*)" as (?P[^,]+), on port (?P\d+), with environment (?P.*) regex: true + types: + path: path + args: text + name: text + port: uint + env: text impl: python: function: _daemon_start_soonish @@ -62,6 +73,11 @@ - when: I start "(?P[^ "]+)(?P[^"]*)" as a background process as (?P[^,]+), with environment (?P.*) regex: true + types: + path: path + args: text + name: text + env: text impl: python: function: _daemon_start -- cgit v1.2.1