(exe: string)
| 168 | : `kill -0 ${pid} 2>/dev/null && echo alive || echo dead`; |
| 169 | |
| 170 | const restoreServiceCommand = (exe: string): string => |
| 171 | guestOs() === "windows" |
| 172 | ? `& '${exe}' service install --port ${PORT} *> 'C:/Windows/Temp/takeover-restore.log'; exit 0` |
| 173 | : `${exe} service install --port ${PORT} >/tmp/takeover-restore.log 2>&1 || true`; |
| 174 | |
| 175 | scenario( |
| 176 | "CLI service install · takes over a running predecessor daemon", |
no test coverage detected