diff --git a/README b/README deleted file mode 100644 index d61af76..0000000 --- a/README +++ /dev/null @@ -1,7 +0,0 @@ -script for Evolix maintenance -============================= - -script evomaintenance.sh which sends a mail -for each intervention on a Pack Evolix server. - -* Pb quand '&' dans le msg d'evomaintenance... diff --git a/README.md b/README.md new file mode 100644 index 0000000..e46d56b --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# Evomaintenance + +```.plain +$ evomaintenance --help +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 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 + --commit enable the commit hook (default) + --no-commit disable the commit hook + --evocheck enable evocheck execution (default) + --no-evocheck disable evocheck execution + --auto use "auto" mode + --no-auto use "manual" mode (default) + -v, --verbose increase verbosity + -n, --dry-run actions are not executed + --help print this message and exit + --version print version and exit +``` diff --git a/Vagrantfile b/Vagrantfile index 26788ec..74a4a71 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -10,7 +10,7 @@ load File.expand_path(vagrantfile) if File.exists?(vagrantfile) Vagrant.configure('2') do |config| config.vm.synced_folder "./", "/vagrant", type: "rsync", rsync__exclude: [ '.vagrant', '.git' ] config.ssh.shell = "/bin/sh" - + $deps = <