Skip to content

Commit bdbdec5

Browse files
committed
client: use default socket path
Signed-off-by: Pavel Boldin <pboldin@cloudlinux.com>
1 parent db81858 commit bdbdec5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/libcare.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ Description=LibCare patch server
44
[Service]
55

66
ExecStart=/usr/bin/libcare-ctl server &3
7-
ExecStartPost=/usr/bin/libcare-client /run/libcare.sock update
7+
ExecStartPost=/usr/bin/libcare-client update
88

9-
ExecStop=/usr/bin/libcare-client /run/libcare.sock stop
9+
ExecStop=/usr/bin/libcare-client stop

src/kpatch_user.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ processes_info(int pid,
16221622
if (data.may_update) {
16231623
printf("%s%d object(s) may be updated to the latest patch%s\n",
16241624
YELLOW, data.may_update, RESET);
1625-
printf("\n%sRun: libcare-client /run/libcare.sock update%s\n",
1625+
printf("\n%sRun: libcare-client update%s\n",
16261626
RED, RESET);
16271627
}
16281628

0 commit comments

Comments
 (0)