Commit Graph
9 Commits
Author SHA1 Message Date
Edoardo Spadolini 9fb54266e0 Use Restart=always for the Teleport systemd service (#41564) 2024-05-15 12:40:12 +00:00
Bernard Kim 46eb4b5b92 Configure the systemd unit file RestartSec value (#40189)
* Set RestartSec=5

* Update examples
2024-04-04 17:04:07 +00:00
Edoardo Spadolini 86e07c8c10 Update ExecReload in all Teleport systemd unit files (#39070)
* Update ExecReload in all teleport unit files

* Comment on why we're shelling out
2024-03-07 16:24:05 +00:00
Edoardo Spadolini bd47f0e02a Improve Teleport reload behavior (#37773)
* clean up pidfile and reloads

* reduce log spam during graceful shutdowns

* hold an exclusive advisory lock on the pidfile

* do systemd reloads with the pidfile rather than $MAINPID

* prioritize signals over internal restarts
2024-02-13 15:27:54 +00:00
Gus Luxton 9d7106f7d6 systemd: Specify default config file path in unit file (#30442)
* systemd: Specify default config file path in unit file

Fixes #30306

* Also update 'teleport install systemd'

* Format file with gci
2023-08-14 19:09:11 +00:00
Steven Martin 9333665340 update ui and config to refer to service as Teleport Service (#26654)
* update to refer to service as Teleport Service

* update references to Teleport SSH Service to Teleport Service

* lint fix
2023-05-26 13:24:00 +00:00
Hugo Shaka 0d6adaa50a Standardize systemd LimitNOFILE (#17893)
Actual LimitNOFILE varies greatly between the systems as it depends on the
systemd version and the go version used to build Teleport. The goal of this
commit is to run Teleport in the same setup, regardless of the distro nor
Teleport version.

New systemd defaults are 1024:524288, and starting with go 1.19, go process can
increase their soft limit up to the hard limmit dynamically. Old systemd
versions don't suppoprt `soft:hard` notation and old go versions don't
automatically increase up to the hard limit. For this reasons, the most
compatible setting is to set softlimit=hardlimit=524288.
2022-10-31 16:56:02 +00:00
Heinz Wiesinger aae854dda0 Add support for a defaults file to systemd service.
The defaults file is a common location to define service specific
environment variables. Defining the variables is still up to the
admin, but like this at least the service file doesn't need to be
modified anymore.
2020-02-07 15:43:38 -08:00
Ben Arent 95047dea33 Re-order Enterprise Guide and added FIPS Support page (#3129)
* Re-order Enterprise Guide and add FIPS Support page
2019-11-11 09:35:26 -08:00