Commit graph

4 commits

Author SHA1 Message Date
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
Andrew Lytvynov 540f77526b Use tighter permissions for /var/lib/teleport everywhere
Automatic creation of the data folder in teleport does the right thing -
only make it accessible to owner. All other scripts and docs should do
the same.

Updates #3701
2020-05-15 16:45:56 +00:00
Ev Kontsevoy 27047b1ceb Better OSX support for Vagrant 2016-06-21 13:22:08 -07:00
Ev Kontsevoy 020a5404ae Zero-config Vagrant environment with trusted clusters 2016-06-21 12:09:55 -07:00