File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,11 @@ for user in $users; do
3333 for domain in $( search_objects ' web' ' LETSENCRYPT' ' yes' ' DOMAIN' ) ; do
3434
3535 # Check if Web Domain is suspended
36- websuspended=$( grep " DOMAIN='$domain '" $USER_DATA /web.conf | grep " SUSPENDED='no " )
36+ websuspended=$( grep " DOMAIN='$domain '" $USER_DATA /web.conf | grep " SUSPENDED='yes " )
3737 if [ ! -z " $websuspended " ]; then
3838 continue ;
3939 fi ;
4040
41- # Check if DNS is suspended
42- dnssuspended=$( grep " DOMAIN='$domain '" $USER_DATA /dns.conf | grep " SUSPENDED='no" )
43- if [ ! -z " $dnssuspended " ]; then
44- continue ;
45- fi ;
46-
4741 crt=" $HESTIA /data/users/$user /ssl/$domain .crt"
4842 crt_data=$( openssl x509 -text -in " $crt " )
4943 expire=$( echo " $crt_data " | grep " Not After" )
You can’t perform that action at this time.
0 commit comments