Make c-lightning's entrypoint.sh executable in installed dir

This commit is contained in:
kexkey
2019-12-21 09:05:59 -05:00
committed by kexkey
parent 0eb8c2cfbe
commit 9b30cb4787

6
dist/setup.sh vendored
View File

@@ -479,6 +479,12 @@ install_docker() {
copy_file $cyphernodeconf_filepath/lightning/c-lightning/config $LIGHTNING_DATAPATH/config 1 $SUDO_REQUIRED
copy_file $cyphernodeconf_filepath/lightning/c-lightning/entrypoint.sh $LIGHTNING_DATAPATH/entrypoint.sh 1 $SUDO_REQUIRED
if [[ ! -x $LIGHTNING_DATAPATH/entrypoint.sh ]]; then
step " make entrypoint.sh executable"
sudo_if_required chmod +x $LIGHTNING_DATAPATH/entrypoint.sh
next
fi
fi
fi