summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-01-06 18:40:56 +0200
committerLars Wirzenius <liw@liw.fi>2024-01-06 18:40:56 +0200
commitb287fcf48bf90d730d813e67755010efa346ced8 (patch)
treef1d07dcc24c9a9d456eea535c581c5ba3d1aa930 /share
parent6f78329639ece55e1bd2fc66f39da1acf7c23a62 (diff)
downloadsubplot-b287fcf48bf90d730d813e67755010efa346ced8.tar.gz
fix: add missing types for python lib/daemon.yaml
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
Diffstat (limited to 'share')
-rw-r--r--share/python/lib/daemon.yaml16
1 files changed, 16 insertions, 0 deletions
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<path>[^ "]+)(?P<args>[^"]*)" as a background process as (?P<name>[^,]+), on port (?P<port>\d+), with environment (?P<env>.*)
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<path>[^ "]+)(?P<args>[^"]*)" as (?P<name>[^,]+), on port (?P<port>\d+), with environment (?P<env>.*)
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<path>[^ "]+)(?P<args>[^"]*)" as a background process as (?P<name>[^,]+), with environment (?P<env>.*)
regex: true
+ types:
+ path: path
+ args: text
+ name: text
+ env: text
impl:
python:
function: _daemon_start