diff --git a/startos/main.ts b/startos/main.ts index 1411b93..cef2350 100644 --- a/startos/main.ts +++ b/startos/main.ts @@ -19,9 +19,12 @@ export const main = sdk.setupMain(async ({ effects }) => { ), exec: { command: ['munin-bitcoin'] }, ready: { - display: i18n('Munin Bitcoin service'), - fn: () => - sdk.healthCheck.checkProcessRunning(effects, 'munin-bitcoin'), + display: i18n('Web Interface'), + fn: () => + sdk.healthCheck.checkPortListening(effects, uiPort, { + successMessage: i18n('The web interface is ready'), + errorMessage: i18n('The web interface is not ready'), + }), }, requires: [], })