diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-24 04:27:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-24 04:27:05 +0200 |
commit | 1005d14f4a6d5bd8f035169cb5df4c890284f211 (patch) | |
tree | 2d2009530acbf2356263726ad36d5b7a8207a0a0 | |
parent | db06e3b6a5254ec247de5bc1a1b6a8670c2f4b2b (diff) |
manager: switch SIGUSR1 and SIGSUR2, to follow upstart's scheme a little
-rw-r--r-- | manager.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1816,12 +1816,7 @@ static int manager_process_signal_fd(Manager *m) { /* This is a nop on non-init */ break; - case SIGUSR1: - manager_dump_units(m, stdout, "\t"); - manager_dump_jobs(m, stdout, "\t"); - break; - - case SIGUSR2: { + case SIGUSR1: { Unit *u; u = manager_get_unit(m, SPECIAL_DBUS_SERVICE); @@ -1840,6 +1835,11 @@ static int manager_process_signal_fd(Manager *m) { break; } + case SIGUSR2: + manager_dump_units(m, stdout, "\t"); + manager_dump_jobs(m, stdout, "\t"); + break; + case SIGHUP: m->exit_code = MANAGER_RELOAD; break; |