From 4bf41396aaffbaa2596cc35294e1baf58855fb56 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Thu, 22 Jun 2023 18:17:34 -0400 Subject: [PATCH] Create configuration file in /etc/tgstation-server along with example. Symlink to application directory. --- build/package/deb/MakeInstall | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/package/deb/MakeInstall b/build/package/deb/MakeInstall index d3eb584ee6..da55bc97c3 100755 --- a/build/package/deb/MakeInstall +++ b/build/package/deb/MakeInstall @@ -3,6 +3,10 @@ install: mkdir -p $(DESTDIR)/opt/tgstation-server cp -r artifacts/* $(DESTDIR)/opt/tgstation-server + mkdir -p $(DESTDIR)/etc/tgstation-server + cp artifacts/appsettings.yml $(DESTDIR)/etc/tgstation-server/appsettings.ex.yml + echo -e "# tgstation-server configration file\n" > $(DESTDIR)/etc/tgstation-server/appsettings.Production.yml + dh_link $(DESTDIR)/etc/tgstation-server/appsettings.Production.yml $(DESTDIR)/opt/tgstation-server/appsettings.Production.yml uninstall: mkdir -p $(DESTDIR)/opt/tgstation-server