1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-06-02 10:18:44 +02:00
init/initd
David Oberhollenzer 028394b8a5 Add service configuration reloading
This commit add the ability to initd to reload the service configuration
while running. The new configuration is merged with the existing one as
follows:

For each target:
 - If the existing service list is not NULL, we have not started that
   target yet. Simply replace it with the new list.
 - If it is NULL, the services have already been started.
    - First, remove all entries for services in that target that no
      loner exist (except from the 'running' list).
    - Second, add new services that we don't have yet. Treat them as
      recently diseased and let the user start them manualy.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-29 21:00:53 +01:00
..
init.h Add service configuration reloading 2019-03-29 21:00:53 +01:00
main.c Add service configuration reloading 2019-03-29 21:00:53 +01:00
Makemodule.am cleanup: let rdline_init open the file 2018-11-04 15:02:11 +01:00
runsvc.c Relicense what is left of the init system under OpenBSD style ISC license 2018-11-23 13:16:08 +01:00
signal_linux.c Add service configuration reloading 2019-03-29 21:00:53 +01:00
status.c Relicense what is left of the init system under OpenBSD style ISC license 2018-11-23 13:16:08 +01:00
supervisor.c Add service configuration reloading 2019-03-29 21:00:53 +01:00