This commit is contained in:
Tony Garnock-Jones 2021-10-07 17:39:32 +02:00
parent e5f8933f26
commit 80ebbe4fd9
1 changed files with 19 additions and 0 deletions

19
examples/inf.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
. $(dirname "$0")/../lib/syndicate.sh
service() {
echo $ds_event
case $(ds_project "$ds_event" ".^") in
retract)
echo 'Bye!'
exit 0
;;
*)
;;
esac
}
ds_object service_entry service
echo 'Running' >&2
ds_connect '<stdio>'