mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 01:34:01 +00:00
540f77526b
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
18 lines
348 B
Desktop File
18 lines
348 B
Desktop File
[Unit]
|
|
Description=Teleport SSH server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=5
|
|
ExecStartPre=/bin/mkdir -p -m0700 /var/lib/teleport
|
|
ExecStart=/usr/local/bin/teleport start -c /opt/teleport/teleport.yaml
|
|
MountFlags=slave
|
|
LimitNOFILE=1048576
|
|
LimitNPROC=1048576
|
|
LimitCORE=infinity
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|