fix: 移除默认证书
This commit is contained in:
Binary file not shown.
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user