Skip to content

Commit

Permalink
build(Makefile): update syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
PromiseFru committed Jun 6, 2024
1 parent e344741 commit 4d64ad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ endef
start:
@(\
if [ "$(shell echo ${MODE} | tr '[:upper:]' '[:lower:]')" = "production" ] && [ "${SSL_CERTIFICATE}" != "" ] && [ "${SSL_KEY}" != "" ] && [ "${SSL_PEM}" != "" ]; then \
$(call log_message,INFO Starting Production server ...) && \
echo "[$(shell date +'%Y-%m-%d %H:%M:%S')] - INFO Starting Production server ..." && \
mod_wsgi-express start-server wsgi_script.py \
--user www-data \
--group www-data \
Expand All @@ -20,7 +20,7 @@ start:
--https-port '${SSL_PORT}' \
--log-to-terminal; \
else \
$(call log_message,INFO Starting Development server ...) && \
echo "[$(shell date +'%Y-%m-%d %H:%M:%S')] - INFO Starting Development server ..." && \
mod_wsgi-express start-server wsgi_script.py --user www-data --group www-data --port ${PORT} --log-to-terminal; \
fi \
)
Expand Down

0 comments on commit 4d64ad0

Please sign in to comment.