Fix for wiki not restarting after upgrade
[ci skip]
This commit is contained in:
parent
439c448db3
commit
ee16b82f17
@ -75,7 +75,7 @@ pm2.connectAsync().then(() => {
|
|||||||
*/
|
*/
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
ora.text = 'Upgrade succeeded. Starting Wiki.js...'
|
ora.text = 'Upgrade succeeded. Starting Wiki.js...'
|
||||||
let npmInstallProc = exec('wiki start', {
|
let npmInstallProc = exec('node wiki start', {
|
||||||
cwd: installDir
|
cwd: installDir
|
||||||
})
|
})
|
||||||
npmInstallProc.stdout.pipe(process.stdout)
|
npmInstallProc.stdout.pipe(process.stdout)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "wiki.js",
|
"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",
|
"description": "A modern, lightweight and powerful wiki app built on NodeJS, Git and Markdown",
|
||||||
"main": "install.js",
|
"main": "install.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user