mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-25 18:59:51 +08:00
* Refactor systemd services * cleanup * use FIPS in config test * cleanup * prevent large package import * rename testdata file
18 lines
482 B
Plaintext
18 lines
482 B
Plaintext
[Unit]
|
|
Description=Teleport Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=5
|
|
EnvironmentFile=-/custom/env/dir/teleport
|
|
ExecStart=/custom/install/dir/teleport start --fips --config /etc/teleport.yaml --pid-file=/custom/pid/dir/teleport.pid
|
|
# systemd before 239 needs an absolute path
|
|
ExecReload=/bin/sh -c "exec pkill -HUP -L -F /custom/pid/dir/teleport.pid"
|
|
PIDFile=/custom/pid/dir/teleport.pid
|
|
LimitNOFILE=16384
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|