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 committed Sep 22, 2018
1 parent 9cc3e4c commit 424eaa0
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 @@ -6,6 +6,7 @@ After=network.target
Type=simple
Restart=always
ExecStart=/usr/local/bin/teleport start --config={{ teleport_config_path }} {{ teleport_opts | default('') }}
KillMode=process

[Install]
WantedBy=multi-user.target

0 comments on commit 424eaa0

Please sign in to comment.