diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-12-31 11:02:32 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-12-31 11:02:32 +0200 |
commit | 8c4729010511d7bd491675522378507c2af0b583 (patch) | |
tree | 2cbff9a84d0c401828ebd7c9129068600b3cb9ea /subplot/vendored/daemon.yaml | |
parent | 89c2c522682ea0490f3512e43bf855b254cd924f (diff) | |
download | obnam2-8c4729010511d7bd491675522378507c2af0b583.tar.gz |
chore: update vendored subplot librarires: runcmd, daemon
Diffstat (limited to 'subplot/vendored/daemon.yaml')
-rw-r--r-- | subplot/vendored/daemon.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/subplot/vendored/daemon.yaml b/subplot/vendored/daemon.yaml new file mode 100644 index 0000000..6165c62 --- /dev/null +++ b/subplot/vendored/daemon.yaml @@ -0,0 +1,17 @@ +- given: there is no "{args:text}" process + function: daemon_no_such_process + +- when: I start "{path}{args:text}" as a background process as {name}, on port {port} + function: daemon_start_on_port + +- when: I start "{path}{args:text}" as a background process as {name} + function: daemon_start + +- when: I stop background process {name} + function: daemon_stop + +- then: a process "{args:text}" is running + function: daemon_process_exists + +- then: there is no "{args:text}" process + function: daemon_no_such_process |