aboutsummaryrefslogtreecommitdiff
path: root/src/pies.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-01-30 14:52:52 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-01-30 14:52:52 +0200
commit7f20aa4f7e26d8f740b55bef98f0c3c78eca0e79 (patch)
treec32e862b002c167a36f4d0f0f1fb9a2f6d626d68 /src/pies.c
parente9379677a3c82753f0d29ef1c3490eec345db3c0 (diff)
downloadpies-7f20aa4f7e26d8f740b55bef98f0c3c78eca0e79.tar.gz
pies-7f20aa4f7e26d8f740b55bef98f0c3c78eca0e79.tar.bz2
Fix configuration reload and telinit q
* src/comp.c (component_link): Always link after the REF. component. If REF is NULL, link at list head. (component_append): New function. (component_create): Use component_append. (component_free): Fix double-free. * src/pies.c (pies_reload): Call sysvinit_runlevel_setup. * src/progman.c (progman_stop_component): Remove inactive components. * src/sysvinit.c (sysvinit_fifo_handler): Schedule ACTION_RELOAD. on receiving INIT_CMD_RUNLVL. (sysvinit_sigtrans): Don't handle SIGHUP.
Diffstat (limited to 'src/pies.c')
-rw-r--r--src/pies.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pies.c b/src/pies.c
index d3a9096..1bce1eb 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -1537,2 +1537,4 @@ pies_reload (void)
component_config_commit ();
+ if (init_process)
+ sysvinit_runlevel_setup (PIES_COMP_DEFAULT, NULL);
progman_create_sockets ();

Return to:

Send suggestions and report system problems to the System administrator.