From 3364ca3f79cac367cfc45981516ace12ca42d45d Mon Sep 17 00:00:00 2001 From: DonRichards Date: Fri, 15 Sep 2023 16:07:25 -0400 Subject: [PATCH] Add the ability to stop without losing anything --- custom.Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/custom.Makefile b/custom.Makefile index 55068a0db..053b18453 100644 --- a/custom.Makefile +++ b/custom.Makefile @@ -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 \ No newline at end of file + 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" \ No newline at end of file