share/python/lib/daemon.yaml
there is no "(?P<args>.*)" process
Ensure a given process is not running.
Captures:
args
: texta daemon helper shell script (?P<filename>\S+)
Install a helper script from an embedded file.
Captures:
filename
: fileI start "(?P<path>\S+)(?P<args>.*)" as a background process as (?P<name>\S+), on port (?P<port>\S+)
Start a process in the background (as a daemon) and wait until it listens on its assigned port.
Captures:
args
: textpath
: wordname
: wordport
: wordI start "(?P<path>[^ "]+)(?P<args>[^"]*)" as a background process as (?P<name>[^,]+), on port (?P<port>\d+), with environment (?P<env>.*)
Start a process in the background (as a daemon) and wait until it listens on its assigned port. Remember the process under the given name.
Captures:
args
: textport
: uintenv
: textname
: textpath
: pathI try to start "(?P<path>\S+)(?P<args>.*)" as (?P<name>\S+), on port (?P<port>\S+)
Try to start a background process (as a daemon), but don’t fail if starting it fails.
Captures:
args
: textname
: wordport
: wordpath
: wordI try to start "(?P<path>[^ "]+)(?P<args>[^"]*)" as (?P<name>[^,]+), on port (?P<port>\d+), with environment (?P<env>.*)
Start a process in the background (as a daemon) and wait until it listens on its assigned port. Remember the process under the given name. Don’t fail if this fails.
Captures:
env
: textpath
: pathname
: textargs
: textport
: uintI start "(?P<path>\S+)(?P<args>.*)" as a background process as (?P<name>\S+)
Start a process in the background (as a daemon). Remember the process under the given name. Don’t fail if this fails.
Captures:
path
: wordargs
: textname
: wordI start "(?P<path>[^ "]+)(?P<args>[^"]*)" as a background process as (?P<name>[^,]+), with environment (?P<env>.*)
Start a process in the background (as a daemon), with specific environment variables set. Remember the process under the given name. Don’t fail if this fails.
Captures:
args
: textpath
: pathname
: textenv
: textI stop background process (?P<name>\S+)
Stop a background process that was started earlier with the given name.
Captures:
name
: worddaemon (?P<name>\S+) has produced output
Wait until the named daemon has produced output to its stdout or stderr.
Captures:
name
: worda process "(?P<args>.*)" is running
Check that a given process is running.
Captures:
args
: textthere is no "(?P<args>.*)" process
Check that a given process is not running.
Captures:
args
: textstarting daemon fails with "(?P<message>.*)"
Check that starting a daemon previously failed, and the error message contains the given text.
Captures:
message
: textstarting the daemon succeeds
Check that staring a daemon previous succeeded.
daemon (?P<name>\S+) stdout is "(?P<text>.*)"
Check that the named daemon has written exactly the given text to its stdout.
Captures:
name
: wordtext
: textdaemon (?P<name>\S+) stdout contains "(?P<text>.*)"
Check that the named daemon has written the given text to its stdout, possibly among other text.
Captures:
name
: wordtext
: textdaemon (?P<name>\S+) stdout doesn't contain "(?P<text>.*)"
Check that the named daemon has not written the given text to its stdout.
Captures:
text
: textname
: worddaemon (?P<name>\S+) stderr is "(?P<text>.*)"
Check that the named daemon has written exactly the given text to its stderr.
Captures:
text
: textname
: word