-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
92 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": "Force reload *ecosystem.config* : " | ||
}, | ||
"accessory": { | ||
"type": "button", | ||
"text": { | ||
"type": "plain_text", | ||
"text": "Reload", | ||
"emoji": true | ||
}, | ||
"style": "primary", | ||
"value": "reload", | ||
"action_id": "button-reload" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"text": "Are you sure you want to stop ecosystem.config file?", | ||
"attachments": [ | ||
{ | ||
"text": "Please confirm", | ||
"fallback": "Confirm stop", | ||
"callback_id": "stop_ecosystem", | ||
"color": "#3AA3E3", | ||
"attachment_type": "default", | ||
"actions": [ | ||
{ | ||
"name": "game", | ||
"text": "Thermonuclear War", | ||
"style": "danger", | ||
"type": "button", | ||
"value": "stop_ecosystem_confirm", | ||
"confirm": { | ||
"title": "Are you sure?", | ||
"text": "This will stop server process.", | ||
"ok_text": "Yes", | ||
"dismiss_text": "No" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"text": "Commands available: list, emergency_stop, info_app", | ||
"blocks": [ | ||
{ | ||
"type": "header", | ||
"text": { | ||
"type": "plain_text", | ||
"text": "List of available commands" | ||
} | ||
}, | ||
{ | ||
"type": "divider" | ||
}, | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": "*list* - display current PM2 processes\n*emergency_stop* - stop PM2 processess\n*info_app* - upload the lastest log file" | ||
} | ||
} | ||
] | ||
} |