2
0

fix: 移除默认证书

This commit is contained in:
caiyuchao
2025-04-16 18:33:42 +08:00
parent 14d05ad903
commit 637d4da735
2 changed files with 13 additions and 2 deletions

View File

@@ -25,12 +25,23 @@ case "$1" in
else else
${DockerCompose} stop $2 ${DockerCompose} stop $2
fi fi
;; ;;
restart) restart)
$0 stop $2 $0 stop $2
sleep 1 sleep 1
$0 start $2 $0 start $2
;; ;;
down)
cd ${DockerDir}
if [ -z "$2" ]; then
${DockerCompose} down --rmi all
if [ -f ${PIDFile} ]; then
rm ${PIDFile}
fi
else
${DockerCompose} down --rmi $2
fi
;;
status) status)
cd ${DockerDir} cd ${DockerDir}
if [ -z "$2" ]; then if [ -z "$2" ]; then
@@ -41,7 +52,7 @@ case "$1" in
;; ;;
*) *)
echo "License Server Service ... " echo "License Server Service ... "
echo "Usage: $0 start|stop|restart|status" echo "Usage: $0 start|stop|restart|down|status"
exit 1 exit 1
;; ;;
esac esac