Skip to content

Commit

Permalink
Fix service name
Browse files Browse the repository at this point in the history
  • Loading branch information
woohgit committed Aug 8, 2016
1 parent 1899656 commit 704f384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/teleport.sysvinit.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 704f384

Please sign in to comment.