Update nodemgmt-scripts.sh
This commit is contained in:
@@ -78,6 +78,7 @@ NEWCERT(){
|
||||
do_with_root chown -R root:letsencrypt /etc/letsencrypt
|
||||
do_with_root chmod -R 6775 /etc/letsencrypt
|
||||
rm -f /opt/idssys/nodemgmt/cert-request.lastrun
|
||||
daterun=`date +%Y-%m-%d-%H-%M`
|
||||
echo -e "${NEW_CERT}\n${daterun}" > /opt/idssys/nodemgmt/cert-request.lastrun
|
||||
yes | cp -rfH /opt/idssys/nodemgmt/cert-request.lastrun /etc/letsencrypt/cert-request.lastrun
|
||||
DIVIDER true
|
||||
|
||||
Reference in New Issue
Block a user