diff options
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r-- | yarns/900-implements.yarn | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn index 3866668..9e5732a 100644 --- a/yarns/900-implements.yarn +++ b/yarns/900-implements.yarn @@ -1,5 +1,20 @@ <!-- + Copyright 2017 Lars Wirzenius + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. + --> # Scenario step implementations @@ -66,11 +81,11 @@ Copyright 2017 Lars Wirzenius cliapp.runcmd(argv, env=env) vars['pid'] = int(cat('pid')) wait_for_port(vars['port']) - + IMPLEMENTS WHEN user stops ick controller import os, signal os.kill(vars['pid'], signal.SIGTERM) - + IMPLEMENTS FINALLY stop ick controller import os, signal os.kill(vars['pid'], signal.SIGTERM) |