unix/fiss

adding setup as stop-target (6b7df70d18f79e2eb393e3cb4b003f47ed2d8cdd)
Repositories | LICENSE

commit 6b7df70d18f79e2eb393e3cb4b003f47ed2d8cdd
parent e0e257fcb1aa39408b97541b901d9d0bf9ae75ce
Author: Friedel Schon <[email protected]>
Date:   Sat, 29 Apr 2023 22:57:52 +0200

adding setup as stop-target

Diffstat:
Msrc/stop.c1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/stop.c b/src/stop.c @@ -18,6 +18,7 @@ void service_stop(service_t* s, bool* changed) { break; case STATE_ACTIVE_FOREGROUND: case STATE_ACTIVE_PID: + case STATE_SETUP: kill(s->pid, SIGTERM); if (changed) *changed = true;