aboutsummaryrefslogtreecommitdiff
path: root/src/pies.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-01-02 13:30:48 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2010-01-02 13:30:48 +0200
commit1dbc4412111b6f7b4d61c1f1c2ba2a8d9a1c0367 (patch)
treef0a9b6c69558a7671ebdd96330dbf28460e6ff0a /src/pies.c
parenta37a83f6143e672a71ee4436fa24aaa2f9c81877 (diff)
downloadpies-1dbc4412111b6f7b4d61c1f1c2ba2a8d9a1c0367.tar.gz
pies-1dbc4412111b6f7b4d61c1f1c2ba2a8d9a1c0367.tar.bz2
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).
Diffstat (limited to 'src/pies.c')
-rw-r--r--src/pies.c1
1 files changed, 1 insertions, 0 deletions
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 }
};

Return to:

Send suggestions and report system problems to the System administrator.