diff --git a/examples/systemd/teleport.service b/examples/systemd/teleport.service index 226e2e373bd42..b5d71b1e1de31 100644 --- a/examples/systemd/teleport.service +++ b/examples/systemd/teleport.service @@ -7,7 +7,7 @@ Type=simple Restart=on-failure EnvironmentFile=-/etc/default/teleport ExecStart=/usr/local/bin/teleport start --config /etc/teleport.yaml --pid-file=/run/teleport.pid -ExecReload=pkill -HUP -L -F /run/teleport.pid +ExecReload=/bin/sh -c "exec pkill -HUP -L -F /run/teleport.pid" PIDFile=/run/teleport.pid LimitNOFILE=524288