mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 13:07:07 +01:00
Add system execution files to console project
This commit is contained in:
+1
-1
@@ -46,4 +46,4 @@ COPY --from=publish /app .
|
||||
RUN mkdir /config_data && mv appsettings.Docker.json /config_data/appsettings.Production.json
|
||||
VOLUME ["/config_data"]
|
||||
|
||||
ENTRYPOINT ["dotnet", "Tgstation.Server.Host.Console.dll"]
|
||||
ENTRYPOINT ["./tgs.sh"]
|
||||
|
||||
@@ -21,4 +21,13 @@
|
||||
<ProjectReference Include="..\Tgstation.Server.Host.Watchdog\Tgstation.Server.Host.Watchdog.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="tgs.bat">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="tgs.sh">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
dotnet %~dp0Tgstation.Server.Host.Console.dll
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
script_full_path=$(dirname "$0")
|
||||
exec dotnet "$script_full_path/Tgstation.Server.Host.Console.dll"
|
||||
Reference in New Issue
Block a user