We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9c7f8 commit a282e00Copy full SHA for a282e00
task/common/machine/script.go
@@ -47,7 +47,7 @@ sudo tee /etc/systemd/system/tpi-task.service > /dev/null <<END
47
[Service]
48
Type=simple
49
ExecStart=/usr/bin/tpi-task
50
- ExecStop=/bin/bash -c 'systemctl is-system-running | grep stopping || tpi --stop'
+ ExecStopPost=/bin/bash -c 'systemctl is-system-running | grep stopping || tpi --stop'
51
EnvironmentFile=/tmp/tpi-environment
52
WorkingDirectory=/tmp/tpi-task
53
TimeoutStartSec=%s
0 commit comments