Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
005ca51b
Commit
005ca51b
authored
Jul 20, 2017
by
NGPixel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/Requarks/wiki
parents
a96a7efd
6d770926
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
README.md
README.md
+2
-2
index.js
server/index.js
+3
-1
No files found.
README.md
View file @
005ca51b
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
Wiki.js can run on virtually all platforms where Node.js can (Windows, Mac, Linux, etc.).
Wiki.js can run on virtually all platforms where Node.js can (Windows, Mac, Linux, etc.).
-
Node.js
**6.
9.0
**
or later
-
Node.js
**6.
11.1
**
or later
-
MongoDB
**3.2**
or later
-
MongoDB
**3.2**
or later
-
Git
**2.7.4**
or later
-
Git
**2.7.4**
or later
-
An empty Git repository (optional)
-
An empty Git repository (optional)
...
@@ -55,7 +55,7 @@ Current and upcoming milestones *(major features only, see the [changelog](https
...
@@ -55,7 +55,7 @@ Current and upcoming milestones *(major features only, see the [changelog](https
-
[
x
]
Color Themes
-
[
x
]
Color Themes
-
[
x
]
Server-side TeX/MathML rendering
-
[
x
]
Server-side TeX/MathML rendering
-
[
x
]
Render line
breaks by default (Gith
ub style)
-
[
x
]
Render line
breaks by default (GitH
ub style)
-
[
x
]
New Localization: German
-
[
x
]
New Localization: German
### Beta 14
### Beta 14
...
...
server/index.js
View file @
005ca51b
...
@@ -266,9 +266,11 @@ bgAgent.on('message', m => {
...
@@ -266,9 +266,11 @@ bgAgent.on('message', m => {
// ----------------------------------------
// ----------------------------------------
graceful
.
on
(
'exit'
,
()
=>
{
graceful
.
on
(
'exit'
,
()
=>
{
global
.
winston
.
info
(
'- SHUTTING DOWN - Terminating Background Agent...'
)
bgAgent
.
kill
()
global
.
winston
.
info
(
'- SHUTTING DOWN - Performing git sync...'
)
global
.
winston
.
info
(
'- SHUTTING DOWN - Performing git sync...'
)
return
global
.
git
.
resync
().
then
(()
=>
{
return
global
.
git
.
resync
().
then
(()
=>
{
global
.
winston
.
info
(
'- SHUTTING DOWN - Git sync successful. Now safe to exit.'
)
global
.
winston
.
info
(
'- SHUTTING DOWN - Git sync successful. Now safe to exit.'
)
process
.
kill
(
process
.
pid
,
'SIGINT'
)
process
.
exit
(
)
})
})
})
})
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment