Skip to content

Commit e958189

Browse files
committed
initctl: rename command signal -> kill
Already backwards compatible, both kill and signal map to the same command. Signed-off-by: Joachim Wiberg <[email protected]>
1 parent eb13309 commit e958189

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/initctl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Commands:
4949
This allows restart of run/tasks that have already run
5050
Note: Finit .conf file(s) are *not* reloaded!
5151
restart <NAME>[:ID] Restart (stop/start) service by name
52-
signal <NAME>[:ID] <S> Send signal S to service by name, with optional ID
52+
kill <NAME>[:ID] <S> Send signal S to service by name, with optional ID
5353
ident [NAME] Show matching identities for NAME, or all
5454
status <NAME>[:ID] Show service status, by name
5555
status Show status of services, default command

src/initctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,7 @@ static int usage(int rc)
13421342
" This allows restart of run/tasks that have already run\n"
13431343
" Note: Finit .conf file(s) are *not* reloaded!\n"
13441344
" restart <NAME>[:ID] Restart (stop/start) service by name\n"
1345-
" signal <NAME>[:ID] <S> Send signal S to service by name, with optional ID\n"
1345+
" kill <NAME>[:ID] <S> Send signal S to service by name, with optional ID\n"
13461346
" ident [NAME] Show matching identities for NAME, or all\n"
13471347
" status <NAME>[:ID] Show service status, by name\n"
13481348
" status Show status of services, default command\n");

0 commit comments

Comments
 (0)