Update service definitions
This commit is contained in:
+6
-6
@@ -1,16 +1,16 @@
|
||||
[Unit]
|
||||
Description=Teleport SSH Service
|
||||
Description=Teleport Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
WorkingDirectory=/etc/teleport
|
||||
EnvironmentFile=-/etc/teleport/teleport-env.conf
|
||||
ExecStart=/usr/bin/teleport start --pid-file=/run/teleport.pid --config teleport.yaml
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
RestartSec=5
|
||||
EnvironmentFile=-/etc/default/teleport
|
||||
ExecStart=/usr/local/bin/teleport start --config /etc/teleport.yaml --pid-file=/run/teleport.pid
|
||||
ExecReload=/bin/sh -c "exec pkill -HUP -L -F /run/teleport.pid"
|
||||
PIDFile=/run/teleport.pid
|
||||
LimitNOFILE=8192
|
||||
LimitNOFILE=524288
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user