From 704f3847ab5e8fbf956a7c1951cd27e36b790096 Mon Sep 17 00:00:00 2001 From: Adam Papai Date: Mon, 8 Aug 2016 11:35:46 +0000 Subject: [PATCH] Fix service name --- templates/teleport.sysvinit.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/teleport.sysvinit.j2 b/templates/teleport.sysvinit.j2 index bef4fd8..909eb49 100644 --- a/templates/teleport.sysvinit.j2 +++ b/templates/teleport.sysvinit.j2 @@ -41,7 +41,7 @@ function soft_stop () { function force_stop () { echo -n "Shutting down teleport daemon *with all active connections*" trap '' TERM - killall sshd 2>/dev/null + killall teleport 2>/dev/null trap - TERM } @@ -107,7 +107,7 @@ case "$1" in force-reload|reload) ## Signal the daemon to reload its config. Most daemons ## do this on signal 1 (SIGHUP). - echo -n "Reload service sshd" + echo -n "Reload service teleport" killproc -p $TELEPORT_PIDFILE -HUP $TELEPORT_BIN