summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers+gitlab@digital-scurf.org>2024-01-07 13:56:24 +0000
committerDaniel Silverstone <dsilvers+gitlab@digital-scurf.org>2024-01-07 13:56:24 +0000
commitdf3538767e1be65f65aa954842ac8f01c63d24a5 (patch)
treef1d07dcc24c9a9d456eea535c581c5ba3d1aa930
parent6f78329639ece55e1bd2fc66f39da1acf7c23a62 (diff)
parentb287fcf48bf90d730d813e67755010efa346ced8 (diff)
downloadsubplot-df3538767e1be65f65aa954842ac8f01c63d24a5.tar.gz
Merge branch 'fix-types' into 'main'
fix: add missing types for python lib/daemon.yaml See merge request subplot/subplot!368
-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