mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-08-23 08:02:24 +02:00
update to 6.8.27
This commit is contained in:
+3
-3
@@ -5,16 +5,16 @@ install_tmp='/tmp/bt_install.pl'
|
||||
download_Url=http://download.bt.cn
|
||||
Install_Ftp()
|
||||
{
|
||||
echo '正在安装脚本文件...' > $install_tmp
|
||||
echo 'Installing script files...' > $install_tmp
|
||||
wget -O /www/server/panel/script/backup_ftp.py $download_Url/install/lib/script/backup_ftp.py -T 5
|
||||
|
||||
echo '安装完成' > $install_tmp
|
||||
echo 'The installation is complete' > $install_tmp
|
||||
}
|
||||
|
||||
Uninstall_Ftp()
|
||||
{
|
||||
rm -f /www/server/panel/script/backup_ftp.py
|
||||
echo '卸载完成' > $install_tmp
|
||||
echo 'Uninstall complete' > $install_tmp
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@ from json import loads
|
||||
lets_info = public.readFile("/www/server/panel/ssl/lets.info")
|
||||
if lets_info:
|
||||
lets_info = loads(lets_info)
|
||||
if setPanelLets.setPanelLets().check_cert_update(lets_info['domain']):
|
||||
res = setPanelLets.setPanelLets().check_cert_update(lets_info['domain'])
|
||||
if res['status'] and res['msg'] == '1':
|
||||
strTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(time.time())))
|
||||
public.writeFile("/tmp/panelSSL.pl","{} Panel certificate updated successfully\n".format(strTime),"a+")
|
||||
public.writeFile('/www/server/panel/data/reload.pl',"1")
|
||||
+1
-1
@@ -6,7 +6,7 @@ export PATH
|
||||
#+------------------------------------
|
||||
|
||||
endDate=`date +"%Y-%m-%d %H:%M:%S"`
|
||||
log="释放内存!"
|
||||
log="Free up memory!"
|
||||
echo "★[$endDate] $log"
|
||||
echo '----------------------------------------------------------------------------'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user