From ee16b82f17de69de7149b6ce29d10105b0b6c109 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sun, 19 Feb 2017 16:36:51 -0500 Subject: [PATCH] Fix for wiki not restarting after upgrade [ci skip] --- npm/install.js | 2 +- npm/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/npm/install.js b/npm/install.js index e4d9c999..7b7b857f 100644 --- a/npm/install.js +++ b/npm/install.js @@ -75,7 +75,7 @@ pm2.connectAsync().then(() => { */ return new Promise((resolve, reject) => { ora.text = 'Upgrade succeeded. Starting Wiki.js...' - let npmInstallProc = exec('wiki start', { + let npmInstallProc = exec('node wiki start', { cwd: installDir }) npmInstallProc.stdout.pipe(process.stdout) diff --git a/npm/package.json b/npm/package.json index c9da49d1..4928762c 100644 --- a/npm/package.json +++ b/npm/package.json @@ -1,6 +1,6 @@ { "name": "wiki.js", - "version": "1.0.0-beta.8", + "version": "1.0.0-beta.8.1", "description": "A modern, lightweight and powerful wiki app built on NodeJS, Git and Markdown", "main": "install.js", "scripts": {