blob: cdc575d0cdd72f73e0f71fda8927f089d1a4ba96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[Unit]
Description=Teleport Service
After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=5
EnvironmentFile=-/etc/default/teleport-%i
ExecStart=/usr/bin/teleport start --config /etc/teleport-%i.yaml --pid-file=/run/teleport-%i.pid
ExecReload=/bin/sh -c "exec pkill -HUP -L -F /run/teleport-%i.pid"
PIDFile=/run/teleport-%i.pid
LimitNOFILE=524288
[Install]
WantedBy=multi-user.target
|