|
|
@ -133,13 +133,15 @@ EOF |
|
|
|
if [ -z "$opt_no_reload" ]; then |
|
|
|
## reloading (could be much faster) |
|
|
|
compose --debug down && compose --debug up |
|
|
|
fi |
|
|
|
if [ "$?" == 0 ]; then |
|
|
|
echo "Added key, and restarted service ${DARKYELLOW}$service_name${NORMAL}." |
|
|
|
else |
|
|
|
echo "something went wrong ! Should check the state of '$DOMAIN' !!" |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
else |
|
|
|
echo "Added key, you'll need to restart service ${DARKYELLOW}$service_name${NORMAL}." |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|