Commit e60d8f0b authored by Martin Vala's avatar Martin Vala
Browse files

Improving restartt

parent c91c96be
Pipeline #531168 passed with stage
in 53 seconds
Name: eos-docker-utils
Version: 1.0.11
Version: 1.0.12
Release: 1%{?dist}
Summary: EOS docker utils
License: LGPL v3+
......
......@@ -62,6 +62,11 @@ function eosDockerSSHStop() {
$ED_PSSH_CMD $ED_PSSH_N $ED_ROOT_DIR/bin/eos-docker stop _single
}
function eosDockerSSHRestart() {
echo "Restarting eos docker ..."
$ED_PSSH_CMD $ED_PSSH_N $ED_ROOT_DIR/bin/eos-docker restart _single
}
function eosDockerSSHClean() {
echo "Cleaning eos docker ..."
$ED_PSSH_CMD $ED_PSSH_N $ED_ROOT_DIR/bin/eos-docker clean _single
......@@ -127,8 +132,7 @@ case "$1" in
eosDockerSSHStop
;;
restart)
eosDockerSSHStop
eosDockerSSHStart
eosDockerSSHRestart
;;
clean)
eosDockerSSHClean
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment