Skip to content

Commit d29adbb

Browse files
rename start/stop script functions
1 parent 576fe71 commit d29adbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ clean_module() {
8585
docker rmi -f $(docker images --filter=label=stage=ngx_http_auth_jwt_builder --quiet) 2> /dev/null || true
8686
}
8787

88-
start_nginx() {
88+
start() {
8989
local port=$(get_port)
9090

9191
printf "${MAGENTA}Starting NGINX container (${IMAGE_NAME}) on port ${port}...${NC}\n"
9292
docker run --rm --name "${IMAGE_NAME}" -d -p ${port}:80 ${FULL_IMAGE_NAME}:${NGINX_VERSION} >/dev/null
9393
}
9494

95-
stop_nginx() {
95+
stop() {
9696
docker stop "${IMAGE_NAME}" >/dev/null
9797
}
9898

0 commit comments

Comments
 (0)