1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-11-24 20:10:42 +01:00
init/cmd
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
..
runsvc cleanup runsvc: merge codepaths for execution, remove cleanup code 2019-03-20 15:09:35 +01:00
service Add service configuration reloading 2019-03-29 21:00:53 +01:00
killall5.c Relicense what is left of the init system under OpenBSD style ISC license 2018-11-23 13:16:08 +01:00
Makemodule.am Add start/stop commands to service tool 2019-03-28 15:32:10 +01:00
shutdown.8 Relicense what is left of the init system under OpenBSD style ISC license 2018-11-23 13:16:08 +01:00
shutdown.c Remove some no longer needed cruft 2018-11-23 23:00:58 +01:00
waitfile.c Add hacky utiliy that waits for the presence of some files 2019-03-24 18:02:17 +01:00