search for 'lbrynet start' to determine if the daemon is running on start up

This commit is contained in:
Sean Yesmunt 2018-11-05 16:00:05 -05:00
parent f621440b3f
commit 4f36b13569

View file

@ -64,7 +64,7 @@ if (isDev) {
}
app.on('ready', async () => {
const processList = await findProcess('name', 'lbrynet');
const processList = await findProcess('name', 'lbrynet start');
const isDaemonRunning = processList.length > 0;
if (!isDaemonRunning) {