mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Use JSON format for configuration pm2 control process file on installer
file. Also, add to validate format on Gruntfile
This commit is contained in:
parent
043779f4af
commit
16499d2fb8
@ -24,7 +24,8 @@ module.exports = function(grunt) {
|
||||
},
|
||||
jsonlint: {
|
||||
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: {
|
||||
reporter: "jshint"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
apps : [{
|
||||
name : "MagicMirror",
|
||||
script : "/home/pi/MagicMirror/installers/mm.sh",
|
||||
watch : ["/home/pi/MagicMirror/config/config.js"]
|
||||
"apps" : [{
|
||||
"name" : "MagicMirror",
|
||||
"script" : "/home/pi/MagicMirror/installers/mm.sh",
|
||||
"watch" : ["/home/pi/MagicMirror/config/config.js"]
|
||||
}]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user