This repository was archived by the owner on Nov 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Config
Doudou8 edited this page Aug 17, 2020
·
4 revisions
- port : Port number
- defaultStatus : In case where the output status is not listed, this is the fallback status
- status : List all the possible statuses with their corresponding color
{
"port": 5000,
"defaultStatus": "inactive",
"status": {
"active": {
"color": "#2ecc71"
},
"inactive": {
"color": "#e74c3c"
}
}
}- displayName : Process display name
- processName : Real process name
-
command :
- execute : List all the possible statuses with their corresponding color
-
output : Associate the output from the
executeproperty with a status
[
{
"displayName": "Test service",
"processName": "testService",
"command": {
"execute": "pm2 jlist | jq '.[0].pm2_env.status",
"output": {
"active": "online",
"inactive": "stopped"
}
}
},
...
]