Skip to content

Commit

Permalink
Create kill_program.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nonunicorn authored Jul 8, 2021
1 parent 850deb0 commit 3c344a1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions supervisor/kill_program.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Make supervisor kill a program when stopping it.

```ini
[program:prcs]
...
stopsignal=KILL
```

- \[program:prcs\] - program configuration block
- stopsignal - defines stop signal to send to the program on stop
- KILL - send ```KILL``` signal (can be any of ``TERM, HUP, INT, QUIT, KILL, USR1, USR2``)

0 comments on commit 3c344a1

Please sign in to comment.