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
${DockerCompose} stop $2
fi
;;
;;
restart)
$0 stop $2
sleep 1
$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)
cd ${DockerDir}
if [ -z "$2" ]; then
@@ -41,7 +52,7 @@ case "$1" in
;;
*)
echo "License Server Service ... "
echo "Usage: $0 start|stop|restart|status"
echo "Usage: $0 start|stop|restart|down|status"
exit 1
;;
esac