mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-29 04:29:41 +00:00
Merge pull request #746 from roramirez/json-format-config-pm2
Use JSON format for configuration file on pm2 control process file
This commit is contained in:
commit
4d3523b677
@ -24,7 +24,8 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
jsonlint: {
|
jsonlint: {
|
||||||
main: {
|
main: {
|
||||||
src: ["package.json", ".eslintrc.json", ".stylelintrc", "translations/*.json", "modules/default/*/translations/*.json"],
|
src: ["package.json", ".eslintrc.json", ".stylelintrc", "translations/*.json",
|
||||||
|
"modules/default/*/translations/*.json", "installers/pm2_MagicMirror.json"],
|
||||||
options: {
|
options: {
|
||||||
reporter: "jshint"
|
reporter: "jshint"
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
apps : [{
|
"apps" : [{
|
||||||
name : "MagicMirror",
|
"name" : "MagicMirror",
|
||||||
script : "/home/pi/MagicMirror/installers/mm.sh",
|
"script" : "/home/pi/MagicMirror/installers/mm.sh",
|
||||||
watch : ["/home/pi/MagicMirror/config/config.js"]
|
"watch" : ["/home/pi/MagicMirror/config/config.js"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user