Skip to content

Commit

Permalink
Add the ability to stop without losing anything
Browse files Browse the repository at this point in the history
  • Loading branch information
DonRichards committed Sep 15, 2023
1 parent 7aeb291 commit 3364ca3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion custom.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,13 @@ jhu_update_theme:
.SILENT: jhu_change_domain
jhu_change_domain:
# Change the DOMAIN= in .env
sed -i "s/DOMAIN=.*/DOMAIN=$(DOMAIN)/g" .env
sed -i "s/DOMAIN=.*/DOMAIN=$(DOMAIN)/g" .env

.PHONY: jhu_stop
.SILENT: jhu_stop
## JHU: Turn off idc without losing anything.
jhu_stop:
@echo ""
@echo "Stopping containers"
docker-compose stop
@echo " └─ Done"

0 comments on commit 3364ca3

Please sign in to comment.