From 3047c52763c5577a9a75d801198096f758d796b3 Mon Sep 17 00:00:00 2001 From: Edoardo Spadolini Date: Wed, 6 Mar 2024 09:10:47 -0800 Subject: [PATCH] Use an absolute path in ExecReload in teleport.service --- examples/systemd/teleport.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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