Create configuration file in /etc/tgstation-server along with example.

Symlink to application directory.
This commit is contained in:
Jordan Dominion
2023-06-22 18:17:34 -04:00
parent b10fb51e08
commit 4bf41396aa
+4
View File
@@ -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