Kill daemon process with SIGKILL.
(args: argparse.Namespace)
| 451 | |
| 452 | @action(kill_parser) |
| 453 | def do_kill(args: argparse.Namespace) -> None: |
| 454 | """Kill daemon process with SIGKILL.""" |
| 455 | pid, _ = get_status(args.status_file) |
| 456 | try: |
| 457 | kill(pid) |
| 458 | except OSError as err: |
| 459 | fail(str(err)) |
| 460 | else: |
| 461 | print("Daemon killed") |
| 462 | |
| 463 | |
| 464 | @action(check_parser) |
nothing calls this directly
no test coverage detected
searching dependent graphs…