Files
teleport/examples/systemd/machine-id/machine-id.service
T
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

17 lines
313 B
Desktop File

[Unit]
Description=Teleport Machine ID Service
After=network.target
[Service]
Type=simple
User=teleport
Group=teleport
Restart=on-failure
ExecStart=/usr/local/bin/tbot start -c /etc/tbot.yaml
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/run/machine-id.pid
LimitNOFILE=524288
[Install]
WantedBy=multi-user.target