mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-01 13:39:37 +08:00
15 lines
353 B
Plaintext
15 lines
353 B
Plaintext
[Unit]
|
|
Description=Teleport Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=on-failure
|
|
EnvironmentFile=-/custom/env/dir/teleport
|
|
ExecStart=/custom/install/dir/teleport start --pid-file=/custom/pid/dir/teleport.pid
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
PIDFile=/custom/pid/dir/teleport.pid
|
|
LimitNOFILE=16384
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |