summaryrefslogtreecommitdiff
path: root/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'manager.c')
-rw-r--r--manager.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/manager.c b/manager.c
index 234fb93c1e..4cfa6b9cdc 100644
--- a/manager.c
+++ b/manager.c
@@ -1502,6 +1502,16 @@ static int manager_process_signal_fd(Manager *m, bool *quit) {
break;
+ case SIGUSR1:
+
+ printf("→ By units:\n");
+ manager_dump_units(m, stdout, "\t");
+
+ printf("→ By jobs:\n");
+ manager_dump_jobs(m, stdout, "\t");
+
+ break;
+
default:
log_info("Got unhandled signal <%s>.", strsignal(sfsi.ssi_signo));
}