chmod a+x

This commit is contained in:
2023-05-24 13:58:30 +00:00
parent c50906e08e
commit 89fe765cc6

View File

@@ -335,6 +335,7 @@ if [ "$SMARTHOST_PROXY" == "yes" ]; then
fi fi
if [ "$DISCOVERY" == "yes" ] ; then if [ "$DISCOVERY" == "yes" ] ; then
chmod a+x $DISCOVERY_DIR/service-discovery.sh
$DISCOVERY_DIR/service-discovery.sh $DISCOVERY_CONFIG_FILE; $DISCOVERY_DIR/service-discovery.sh $DISCOVERY_CONFIG_FILE;
source $DISCOVERY_CONFIG_FILE; source $DISCOVERY_CONFIG_FILE;
cat $DEST_FILE; cat $DEST_FILE;
@@ -342,6 +343,7 @@ if [ "$DISCOVERY" == "yes" ] ; then
echo "Would you like to run discovered services? (Y/n)"; echo "Would you like to run discovered services? (Y/n)";
read -r ANSWER; read -r ANSWER;
if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "Y" ] || [ "$ANSWER" == "" ] ; then if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "Y" ] || [ "$ANSWER" == "" ] ; then
chmod a+x $DISCOVERY_DIR/service-files.sh
$DISCOVERY_DIR/service-files.sh $DEST_FILE & $DISCOVERY_DIR/service-files.sh $DEST_FILE &
fi; fi;
fi; fi;