Update startos/main.ts
This commit is contained in:
+6
-3
@@ -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: [],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user