Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/systemd/fips/teleport.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=5
EnvironmentFile=-/etc/default/teleport
ExecStart=/usr/local/bin/teleport start --fips --pid-file=/run/teleport.pid
ExecReload=/bin/kill -HUP $MAINPID
Expand Down
1 change: 1 addition & 0 deletions examples/systemd/production/auth/teleport.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=5
# Set the nodes roles with the `--roles`
# In most production environments you will not
# want to run all three roles on a single host
Expand Down
1 change: 1 addition & 0 deletions examples/systemd/production/node/teleport.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=5
# Set the nodes roles with the `--roles`
# In most production environments you will not
# want to run all three roles on a single host
Expand Down
1 change: 1 addition & 0 deletions examples/systemd/production/proxy/teleport.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=5
# Set the nodes roles with the `--roles`
# In most production environments you will not
# want to run all three roles on a single host
Expand Down
1 change: 1 addition & 0 deletions examples/systemd/teleport.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=5
EnvironmentFile=-/etc/default/teleport
ExecStart=/usr/local/bin/teleport start --pid-file=/run/teleport.pid
ExecReload=/bin/kill -HUP $MAINPID
Expand Down
1 change: 1 addition & 0 deletions lib/config/systemd.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=5
EnvironmentFile=-{{ .EnvironmentFile }}
ExecStart={{ .TeleportInstallationFile }} start --pid-file={{ .PIDFile }}
ExecReload=/bin/kill -HUP $MAINPID
Expand Down
1 change: 1 addition & 0 deletions lib/config/testdata/TestWriteSystemdUnitFile.golden
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=5
EnvironmentFile=-/custom/env/dir/teleport
ExecStart=/custom/install/dir/teleport start --pid-file=/custom/pid/dir/teleport.pid
ExecReload=/bin/kill -HUP $MAINPID
Expand Down