mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
安装软件依赖
This commit is contained in:
parent
cb106e42ee
commit
b51052f0c6
@ -191,6 +191,7 @@ upgrade_cert(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_expire(){
|
check_expire(){
|
||||||
|
apk add --no-cache openssl socat
|
||||||
find ${SSL_PATH} -type f -name "*.key" | while read -r file; do
|
find ${SSL_PATH} -type f -name "*.key" | while read -r file; do
|
||||||
CERT_PATH=$file
|
CERT_PATH=$file
|
||||||
expiry_date=$(openssl x509 -enddate -noout -in "$CERT_PATH" | cut -d= -f2)
|
expiry_date=$(openssl x509 -enddate -noout -in "$CERT_PATH" | cut -d= -f2)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user