hook API #9
|
@ -29,15 +29,15 @@ evomaintenance is a program that helps reporting what you've done on a server
|
|||
|
||||
Usage: evomaintenance
|
||||
or evomaintenance --message="add new host"
|
||||
or evomaintenance --no-db --no-mail --no-commit
|
||||
or evomaintenance --no-api --no-mail --no-commit
|
||||
or echo "add new vhost" | evomaintenance
|
||||
|
||||
Options
|
||||
-m, --message=MESSAGE set the message from the command line
|
||||
--mail enable the mail hook (default)
|
||||
--no-mail disable the mail hook
|
||||
--db enable the database hook (default)
|
||||
--no-db disable the database hook
|
||||
--db enable the database hook
|
||||
--no-db disable the database hook (default)
|
||||
--api enable the API hook (default)
|
||||
--no-api disable the API hook
|
||||
--commit enable the commit hook (default)
|
||||
|
@ -324,7 +324,7 @@ HOSTNAME=${HOSTNAME:-$(get_fqdn)}
|
|||
EVOMAINTMAIL=${EVOMAINTMAIL:-"evomaintenance-$(echo "${HOSTNAME}" | cut -d- -f1)@${REALM}"}
|
||||
LOGFILE=${LOGFILE:-"/var/log/evomaintenance.log"}
|
||||
HOOK_COMMIT=${HOOK_COMMIT:-"1"}
|
||||
HOOK_DB=${HOOK_DB:-"1"}
|
||||
HOOK_DB=${HOOK_DB:-"0"}
|
||||
HOOK_API=${HOOK_API:-"1"}
|
||||
HOOK_MAIL=${HOOK_MAIL:-"1"}
|
||||
DRY_RUN=${DRY_RUN:-"0"}
|
||||
|
|
Loading…
Reference in a new issue