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