webinoly/lib/api-events_sample
Cristhian Martínez Ochoa bb47143074 improvements
- internal api url updated.
- server reset not remake swap by default, now we have an option.
- php variables in webinoly conf file.
- stack configuration updated fixed.
- admin-site improved.
- better message when swap is busy and not deleted.
- yoast sitemap support removed from default.
- Message when intallation stat is error.
2020-05-31 16:51:18 -06:00

12 lines
474 B
Bash

#!/bin/bash
# Internal API or Events
# Docs: https://webinoly.com/en/internal-api-events/
# Description: Execute actions at certain points or events, for example at the end of the "stack" command each time is executed
# or after Nginx is installed. Just rename this file to "api-events" and check for the complete list of status codes in the documentation.
# Just put all your code inside this function:
api-events_catch_status() {
echo "${blu}API Status: $1 ${end}"
}