Skip to content

Commit

Permalink
Tell systemd to kill only the teleport process
Browse files Browse the repository at this point in the history
This leaves subprocesses created by Teleport sessions alone
when restarting teleport.service

Fixes woohgit#8
  • Loading branch information
CFSworks authored and Jean-Baptiste Rabin committed Jun 7, 2021
1 parent d4c4dea commit ada105e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/teleport.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Restart=on-failure
ExecStart=/usr/local/bin/teleport start --config={{ teleport_config_path }} {{ teleport_opts | default('') }}
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/teleport.pid
KillMode=process

[Install]
WantedBy=multi-user.target

0 comments on commit ada105e

Please sign in to comment.