Skip to content

Commit

Permalink
Fixed filename
Browse files Browse the repository at this point in the history
  • Loading branch information
explodingcamera committed May 31, 2016
1 parent 1456006 commit 7f0b0de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mqp.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const notifier = updateNotifier({
if (notifier.update) {
console.log('Update available ' + chalk.dim(notifier.update.current) + chalk.reset(' → ') + chalk.green(notifier.update.latest));
} else {
console.log(1);
}

function getRunningPid(callback) {
Expand Down Expand Up @@ -47,7 +46,7 @@ switch (process.argv[2]) {
console.log(' "' + chalk.yellow.bold('npm restart') + '" to restart musiqpad');

// Spawn a new musiqpad daemon process, might need some more settings but I'm waiting for the new config storage for that.
daemon.daemon(__dirname + '/app.js', '--daemon', {
daemon.daemon(__dirname + '/start.js', '--daemon', {
stdout: fs.openSync(path.join(process.cwd(), 'log.txt'), 'a'),
});
}
Expand All @@ -70,7 +69,7 @@ switch (process.argv[2]) {
if (!err) {
process.kill(pid, 'SIGTERM');
console.log('\nRestarting musiqpad');
daemon.daemon(__dirname + '/app.js', '--daemon', {
daemon.daemon(__dirname + '/start.js', '--daemon', {
stdout: fs.openSync(path.join(process.cwd(), 'log.txt'), 'a'),
});

Expand Down

0 comments on commit 7f0b0de

Please sign in to comment.