Commit Graph
34 Commits
Author SHA1 Message Date
Hugo Shaka 6cfeacb547 Fix RPM linking logic (#52703) 2025-03-03 17:40:27 +00:00
Vadym Popov 278dfc84f7 [teleport-update] Move teleport binaries to new path {deb,rpm} (#49110)
* Move teleport binaries to new path

* Use link/unlink command to manage links
Move teleport.service to new path

* Move teleport binaries under standard path for distroless
Cleanup

* Fix wrong move path

* Create missing directory

* Rename link/unlink commands

* Exclude teleport-update from docker image
Systemd reload now managed by teleport-update
Make safe unlink not to block package removal

* Add teleport-update to AMI image build

* Fix RPM build, fpm automatically manage scripts

* Fix AMI build, add missing teleport.service

* Move binaries to /opt/teleport/system
2024-12-16 20:40:02 +00:00
Noah Stride 94822ca071 Set documented RestartSec and Restart for tbot (#41758) 2024-05-21 08:31:29 +00:00
Edoardo Spadolini 9fb54266e0 Use Restart=always for the Teleport systemd service (#41564) 2024-05-15 12:40:12 +00:00
Bernard Kim 3a7ece300d Reload teleport service config on upgrade (#41127)
* Reload teleport service config on upgrade

* Ignore daemon-reload error
2024-05-13 22:48:35 +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 46c1e507aa Use an absolute path in ExecReload in teleport.service (#39028) 2024-03-06 17:42:19 +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
Steven Martin e8b4218d24 Machine ID readme example script fix (#22385)
Fix script to run
2023-02-28 12:23:46 +00:00
Noah Stride 4ec894a112 Update examples/systemd/machine-id to use best practices! (#19101)
* Update example systemd file and guide for Machine ID

* Trailing newline !

* Shorten advice

* Remove confusing comma

* Format warning nicer!
2022-12-07 10:10:50 +00:00
Hugo ShakaandPaul Gottschling a2b5a37f94 Document Discord access plugin (#17593)
* Document Discord access plugin

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* fixup! Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-11-25 21:43:58 +00:00
Hugo Shaka 74b9ad86a8 Fix msteams access plugin systemd unit (#17859) 2022-11-01 21:14:24 +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
c9fbcc03ad Document MsTeams access plugin (#15941)
Co-authored-by: alexfornuto <alex@fornuto.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-09-22 18:35:06 +00:00
Steven Martin 408671c19b Remove SSH from Teleport SystemD description (#14780)
systemd service is used for multiple protocols, not just SSH
2022-09-12 11:28:33 +00:00
Paul Gottschling 15d5699d92 Add an Email Access Request guide (#15133)
Co-authored-by: Steven Martin <steven@gravitational.com>

Closes #8695
Closes #6438
2022-08-11 14:44:26 +00:00
Russell Jones e2b545db9e Added Machine ID to examples. 2022-04-06 12:18:23 -07:00
Steven Martin d867edadae Add sudo to systemd example commands (#6603) 2021-05-14 06:37:54 -07:00
Gus Luxton a51596d8d7 Update metrics endpoint from 3434 to default 3000 as per docs (#4955) 2020-11-25 17:47:59 -04:00
Gus Luxton 803c3fb410 Add higher LimitNOFILE limit to Teleport unit file (#4417) 2020-10-01 11:35:24 -03:00
Travis Swientek c538fb2e73 Workflow Documentation Fixes (#4111)
* Fixes documentation typo for Slack workflow.
* Improve the example workflow Slack toml comments.
* Remove --pid-file from workflow systemd units.
* PR feedback. teleport-slackbot -> teleport-slack
2020-07-24 10:17:59 -05:00
3976a99771 Teleport 4.3 Docs (#3423)
* Base fork for 4.3 docs

* [docs] external email identities and Kube Users (#3628)

* Base fork for 4.3 docs

* [docs] external email identities and Kube Users (#3628)

* Remove trailing whitespace from docs files

Some editors will do this automatically on save. This causes a lot of
diffs when editing the docs in such an editor.
Clean them up once now and we'll try to keep it tidy going forward.

* Add make rules for docs whitespace and milv

docs-test-whitespace: checks for trailing whitespace in all .md files
  under docs/.
docs-fix-whitespace: removes trailing whitespace in all .md files under
  docs/.
docs-test-links: runs milv in all docs/ subdirectories that have
  milv.config.yaml.
docs-test: runs whitespace and links tests, used during `make docs`

* Document the new `--use-local-ssh-agent` flag for tsh

The flag is used to bypass the local SSH agent even when it's running.
Specifically, this helps with agents that don't support certs.

The flag was added in #3721

* Remove pam_script.so docs from SSH PAM page

With #3725 we now populate teleport-specific env vars in a way that's
accessible to `pam_exec.so`. There's no longer any reason to install
pam_script.so separately and duplicate our docs.

Updates #3692

* Using the correct --insecure-no-tls flag

* Run docs-fix-whitespace make rule in a busybox container


* Fixes #3414

Co-authored-by: Andrew Lytvynov <andrew@gravitational.com>
Co-authored-by: Gus Luxton <gus@gravitational.com>
Co-authored-by: Steven Martin <steven@gravitational.com>
Co-authored-by: Gus Luxton <webvictim@gmail.com>
2020-06-17 17:09:41 -07: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 fd66de6184 Teleport Production Guide (#3236)
* Start Production Guide
Co-authored-by: Gus Luxton <webvictim@gmail.com>
2020-01-08 15:15:58 -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
Lele c2f656cefe Update teleport.yaml, for pkg/etc/teleport.yaml and it's systemd unit. 2019-10-17 18:44:33 -07:00
Lele 7774fb760c Fixed anti-pattern use of /var/run as the PID dir (#3035)
Fixed anti-pattern use of /var/run as the PID dir
2019-10-01 21:27:18 +02:00
Ev Kontsevoy b2c12066a0 Updated getting started experience for systemd users
- Modified the default teleport.service to start without
  /etc/teleport.yaml
- Updated REAMDE for systemd unit
- Updated ./install script
2018-07-19 18:04:14 -07:00
Ev Kontsevoy 1d315e518c Updated "graceful restarts" section 2018-03-11 20:18:51 -07:00
Ev Kontsevoy 6962f7a567 Better systemd unit 2017-08-15 18:57:20 -07:00
Ev Kontsevoy 0a78b45b3c Added "examples" directory with some sample configs
- 3-node cluster example
- systemd unit file
2016-10-10 10:51:43 -07:00