From e958189e6a92113fa58290e096bb4bbe67311377 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 10 Jul 2025 18:29:39 +0200 Subject: [PATCH] initctl: rename command signal -> kill Already backwards compatible, both kill and signal map to the same command. Signed-off-by: Joachim Wiberg --- doc/initctl.md | 2 +- src/initctl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/initctl.md b/doc/initctl.md index 10a7e97c..aff7503d 100644 --- a/doc/initctl.md +++ b/doc/initctl.md @@ -49,7 +49,7 @@ Commands: This allows restart of run/tasks that have already run Note: Finit .conf file(s) are *not* reloaded! restart [:ID] Restart (stop/start) service by name - signal [:ID] Send signal S to service by name, with optional ID + kill [:ID] Send signal S to service by name, with optional ID ident [NAME] Show matching identities for NAME, or all status [:ID] Show service status, by name status Show status of services, default command diff --git a/src/initctl.c b/src/initctl.c index bc33e3e8..3c31771c 100644 --- a/src/initctl.c +++ b/src/initctl.c @@ -1342,7 +1342,7 @@ static int usage(int rc) " This allows restart of run/tasks that have already run\n" " Note: Finit .conf file(s) are *not* reloaded!\n" " restart [:ID] Restart (stop/start) service by name\n" - " signal [:ID] Send signal S to service by name, with optional ID\n" + " kill [:ID] Send signal S to service by name, with optional ID\n" " ident [NAME] Show matching identities for NAME, or all\n" " status [:ID] Show service status, by name\n" " status Show status of services, default command\n");