Update nodemgmt-scripts.sh
This commit is contained in:
@@ -92,16 +92,16 @@ case "$1" in
|
|||||||
do
|
do
|
||||||
echo -e "${idsCL[Yellow]}Setting folder permissions for Node ${nid} ($nip)${idsCL[Default]}"
|
echo -e "${idsCL[Yellow]}Setting folder permissions for Node ${nid} ($nip)${idsCL[Default]}"
|
||||||
echo -en "${idsCL[Cyan]}LetsEncrypt Certs ${idsCL[Default]}"
|
echo -en "${idsCL[Cyan]}LetsEncrypt Certs ${idsCL[Default]}"
|
||||||
#ssh root@${nip} chown -R root:letsencrypt /etc/letsencrypt
|
ssh root@${nip} chown -R root:letsencrypt /etc/letsencrypt
|
||||||
#ssh root@${nip} chmod -R 6775 /etc/letsencrypt
|
ssh root@${nip} chmod -R 6775 /etc/letsencrypt
|
||||||
echo -e "${idsCL[Green]}Complete${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Complete${idsCL[Default]}"
|
||||||
echo -en "${idsCL[Cyan]}Webserver folders ${idsCL[Default]}"
|
echo -en "${idsCL[Cyan]}Webserver folders ${idsCL[Default]}"
|
||||||
#ssh root@${nip} chown -R www-data:www-data /var/www
|
ssh root@${nip} chown -R www-data:www-data /var/www
|
||||||
#ssh root@${nip} chmod -R 7775 /var/www
|
ssh root@${nip} chmod -R 7775 /var/www
|
||||||
echo -e "${idsCL[Green]}Complete${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Complete${idsCL[Default]}"
|
||||||
echo -en "${idsCL[Cyan]}Gogs Folder ${idsCL[Default]}"
|
echo -en "${idsCL[Cyan]}Gogs Folder ${idsCL[Default]}"
|
||||||
#ssh root@${nip} chown -R gogs:gogs /var/www/gogs
|
ssh root@${nip} chown -R gogs:gogs /var/www/gogs
|
||||||
#ssh root@${nip} chmod -R 7775 /var/www/gogs
|
ssh root@${nip} chmod -R 7775 /var/www/gogs
|
||||||
echo -e "${idsCL[Green]}Complete${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Complete${idsCL[Default]}"
|
||||||
echo ""
|
echo ""
|
||||||
nid=`expr $nid + 1`
|
nid=`expr $nid + 1`
|
||||||
|
|||||||
Reference in New Issue
Block a user