Skip to content

Commit 45dc7b9

Browse files
fmastemgmeier
authored andcommitted
wb | fix children processes that keep running
1 parent 9ccf64f commit 45dc7b9

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

nix/workbench/backend/supervisor-conf.nix

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ let
112112
# Set these values to 0 to indicate an unlimited log size / no rotation.
113113
stdout_logfile_maxbytes = 0;
114114
stderr_logfile_maxbytes = 0;
115-
stopasgroup = false;
116-
killasgroup = false;
115+
# Send stop and kill signals to the whole process group.
116+
stopasgroup = true;
117+
killasgroup = true;
117118
autostart = false;
118119
autorestart = false;
119120
# Don't attempt any restart!
@@ -153,8 +154,9 @@ let
153154
# Set these values to 0 to indicate an unlimited log size / no rotation.
154155
stdout_logfile_maxbytes = 0;
155156
stderr_logfile_maxbytes = 0;
156-
stopasgroup = false;
157-
killasgroup = false;
157+
# Send stop and kill signals to the whole process group.
158+
stopasgroup = true;
159+
killasgroup = true;
158160
autostart = false;
159161
autorestart = false;
160162
# Don't attempt any restart!
@@ -174,8 +176,9 @@ let
174176
# Set these values to 0 to indicate an unlimited log size / no rotation.
175177
stdout_logfile_maxbytes = 0;
176178
stderr_logfile_maxbytes = 0;
177-
stopasgroup = false;
178-
killasgroup = false;
179+
# Send stop and kill signals to the whole process group.
180+
stopasgroup = true;
181+
killasgroup = true;
179182
autostart = false;
180183
autorestart = false;
181184
# Don't attempt any restart!
@@ -199,8 +202,9 @@ let
199202
# Set these values to 0 to indicate an unlimited log size / no rotation.
200203
stdout_logfile_maxbytes = 0;
201204
stderr_logfile_maxbytes = 0;
202-
stopasgroup = false;
203-
killasgroup = false;
205+
# Send stop and kill signals to the whole process group.
206+
stopasgroup = true;
207+
killasgroup = true;
204208
autostart = false;
205209
autorestart = false;
206210
# Don't attempt any restart!
@@ -224,8 +228,9 @@ let
224228
# Set these values to 0 to indicate an unlimited log size / no rotation.
225229
stdout_logfile_maxbytes = 0;
226230
stderr_logfile_maxbytes = 0;
227-
stopasgroup = false;
228-
killasgroup = false;
231+
# Send stop and kill signals to the whole process group.
232+
stopasgroup = true;
233+
killasgroup = true;
229234
autostart = false;
230235
autorestart = false;
231236
# Don't attempt any restart!

0 commit comments

Comments
 (0)