Skip to content

Commit

Permalink
fix(teleport): better parameters
Browse files Browse the repository at this point in the history
fix(teleport) truc
  • Loading branch information
abuisine committed Aug 24, 2023
1 parent e2321ec commit 6c7eb6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion create_teleport_sysext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@ Requires=systemd-machine-id-commit.service
[Service]
Type=simple
Restart=on-failure
Environment=TELEPORT_OPTIONS=
EnvironmentFile=-/etc/default/teleport
EnvironmentFile=/etc/os-release
# Set the nodes roles with the `--roles`
# In most production environments you will not
# 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 $TELEPORT_OPTIONS
ExecStart=/usr/bin/teleport start --roles=node --config=/etc/teleport.yaml --pid-file=/run/teleport.pid --token=%m --nodename=%H $TELEPORT_OPTIONS
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/run/teleport.pid
LimitNOFILE=524288
Expand Down

0 comments on commit 6c7eb6f

Please sign in to comment.