Fixing small bugs.
This commit is contained in:
parent
53693b9b7b
commit
20b789268f
2 changed files with 11 additions and 1 deletions
|
@ -4,6 +4,13 @@
|
||||||
|
|
||||||
This script allows you to execute common sequencially scripts on various servers. It can be use to quickly run maintainance scripts on several servers while having proper feedback when things go wrong.
|
This script allows you to execute common sequencially scripts on various servers. It can be use to quickly run maintainance scripts on several servers while having proper feedback when things go wrong.
|
||||||
|
|
||||||
|
## Dependencies:
|
||||||
|
This script has several dependencies:
|
||||||
|
- bash
|
||||||
|
- awk
|
||||||
|
- sshpass
|
||||||
|
- docker on remote server if it does not have it.
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
### Creating scripts
|
### Creating scripts
|
||||||
|
|
|
@ -22,7 +22,10 @@
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
cd "$(dirname $(readlink $0))"
|
# Cd into the directory of the library
|
||||||
|
script="$(readlink $0)"
|
||||||
|
if [ -z "$script" ]; then script="$0"; fi
|
||||||
|
cd "$(dirname "$script")"
|
||||||
# Importing common functions.
|
# Importing common functions.
|
||||||
. ./libraries/common.sh
|
. ./libraries/common.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue