From 1dbc4412111b6f7b4d61c1f1c2ba2a8d9a1c0367 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sat, 2 Jan 2010 13:30:48 +0200 Subject: New keyword "siggroup" + bugfix. * src/pies.c (str_to_cf): New keyword "siggroup". * src/pies.h (CF_SIGGROUP): New constant. * src/progman.c (prog_start): Call setsid in child. (check_stopping): If CF_SIGGROUP, send signal to the process group. (prog_stop): If CF_SIGGROUP, send signal to the process group. (send_msg,run_command): Call setsid in child. (progman_cleanup): Bugfix: check if prog->v.p.cclass is not NULL (it can be, for UDP services). --- src/pies.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pies.c') diff --git a/src/pies.c b/src/pies.c index 29f3ed0..bac8c41 100644 --- a/src/pies.c +++ b/src/pies.c @@ -871,6 +871,7 @@ str_to_cf (const char *string, int *flags) { "internal", CF_INTERNAL }, { "sockenv", CF_SOCKENV }, { "resolve", CF_RESOLVE }, + { "siggroup", CF_SIGGROUP }, { NULL } }; -- cgit v1.2.1