Update startos/main.ts
This commit is contained in:
+2
-5
@@ -19,12 +19,9 @@ export const main = sdk.setupMain(async ({ effects }) => {
|
|||||||
),
|
),
|
||||||
exec: { command: ['munin-bitcoin'] },
|
exec: { command: ['munin-bitcoin'] },
|
||||||
ready: {
|
ready: {
|
||||||
display: i18n('Web Interface'),
|
display: i18n('Munin Bitcoin service'),
|
||||||
fn: () =>
|
fn: () =>
|
||||||
sdk.healthCheck.checkPortListening(effects, uiPort, {
|
sdk.healthCheck.checkProcessRunning(effects, 'munin-bitcoin'),
|
||||||
successMessage: i18n('The web interface is ready'),
|
|
||||||
errorMessage: i18n('The web interface is not ready'),
|
|
||||||
}),
|
|
||||||
},
|
},
|
||||||
requires: [],
|
requires: [],
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user