Skip to content

Commit 580803b

Browse files
committed
pass PID file to tbot
1 parent 4421812 commit 580803b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tool/tbot/testdata/TestInstallSystemdCmd/succeeds_prexisting_with_force.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Group=llamas
1010
Restart=always
1111
RestartSec=5
1212
Environment="TELEPORT_ANONYMOUS_TELEMETRY=0"
13-
ExecStart=/usr/local/bin/tbot start -c /etc/tbot.yaml
13+
ExecStart=/usr/local/bin/tbot start -c /etc/tbot.yaml --pid-file=/run/tbot.pid
1414
ExecReload=/bin/kill -HUP $MAINPID
1515
PIDFile=/run/tbot.pid
1616
LimitNOFILE=524288

tool/tbot/testdata/TestInstallSystemdCmd/success_-_defaults.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Group=teleport
1010
Restart=always
1111
RestartSec=5
1212
Environment="TELEPORT_ANONYMOUS_TELEMETRY=0"
13-
ExecStart=/usr/local/bin/tbot start -c /etc/tbot.yaml
13+
ExecStart=/usr/local/bin/tbot start -c /etc/tbot.yaml --pid-file=/run/tbot.pid
1414
ExecReload=/bin/kill -HUP $MAINPID
1515
PIDFile=/run/tbot.pid
1616
LimitNOFILE=524288

tool/tbot/testdata/TestInstallSystemdCmd/success_-_defaults_and_dry_run.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Group=teleport
1313
Restart=always
1414
RestartSec=5
1515
Environment="TELEPORT_ANONYMOUS_TELEMETRY=0"
16-
ExecStart=/usr/local/bin/tbot start -c /etc/tbot.yaml
16+
ExecStart=/usr/local/bin/tbot start -c /etc/tbot.yaml --pid-file=/run/tbot.pid
1717
ExecReload=/bin/kill -HUP $MAINPID
1818
PIDFile=/run/tbot.pid
1919
LimitNOFILE=524288

tool/tbot/testdata/TestInstallSystemdCmd/success_-_overrides.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Group=llamas
1010
Restart=always
1111
RestartSec=5
1212
Environment="TELEPORT_ANONYMOUS_TELEMETRY=1"
13-
ExecStart=/usr/local/bin/tbot start -c /etc/tbot.yaml
13+
ExecStart=/usr/local/bin/tbot start -c /etc/tbot.yaml --pid-file=/run/my-farm-bot.pid
1414
ExecReload=/bin/kill -HUP $MAINPID
1515
PIDFile=/run/my-farm-bot.pid
1616
LimitNOFILE=524288

0 commit comments

Comments
 (0)