From 95c8c72c1b46db42ae6399f7f972b426ec2866f5 Mon Sep 17 00:00:00 2001 From: Kim Holviala Date: Wed, 30 Dec 2015 12:51:49 +0200 Subject: [PATCH] Installation now shows the current configuration file --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f2b9a6e..4c49923 100644 --- a/Makefile +++ b/Makefile @@ -143,9 +143,17 @@ install-done: @echo "======================================================================" @echo @echo "Gophernicus has now been succesfully installed. To try it out, launch" - @echo "your favorite gopher browser and navigate to this URL:" + @echo "your favorite gopher browser and navigate to your gopher root." @echo - @echo " gopher://`hostname`/" + @echo "Gopher URL...: gopher://`hostname`/" + @for CONFFILE in /etc/sysconfig/gophernicus \ + /etc/default/gophernicus \ + /Library/LaunchDaemons/org.gophernicus.server.plist \ + /boot/common/settings/network/services \ + /lib/systemd/system/gophernicus\@.service \ + /etc/xinetd.d/gophernicus \ + /etc/inetd.conf; do \ + if [ -f $$CONFFILE ]; then echo "Configuration: $$CONFFILE"; break; fi; done; @echo @echo "======================================================================" @echo