mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
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.
Systemd Service
Sample configuration of systemd service file for Teleport
To use it:
cp teleport.service /etc/systemd/system/teleport.service
systemctl daemon-reload
systemctl enable teleport
systemctl start teleport
To check on Teleport daemon status:
systemctl status teleport
To take a look at Teleport system log:
journalctl -fu teleport