From 32c95f06679a25eb19396d6327cd76671190d4c3 Mon Sep 17 00:00:00 2001 From: Alexandre Buisine <alexandre.buisine@enix.fr> Date: Thu, 24 Aug 2023 13:57:42 +0200 Subject: [PATCH] chore(teleport): better launch parameters --- create_teleport_sysext.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_teleport_sysext.sh b/create_teleport_sysext.sh index 1922423..ec29dd7 100755 --- a/create_teleport_sysext.sh +++ b/create_teleport_sysext.sh @@ -46,7 +46,7 @@ Restart=on-failure # want to run all three roles on a single host # --roles='proxy,auth,node' is the default value # if none is set -ExecStart=/usr/bin/teleport start --roles=node --config=/etc/teleport.yaml --pid-file=/run/teleport.pid --token=$(cat /etc/machine-id) +ExecStart=/usr/bin/teleport start --roles=node --config=/etc/teleport.yaml --pid-file=/run/teleport.pid --token=%m --nodename=%H ExecReload=/bin/kill -HUP $MAINPID PIDFile=/run/teleport.pid LimitNOFILE=524288