mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-04-19 19:14:51 +00:00
* Initial SDK and dependency bumps * Bump Pomelo.EntityFrameworkCore.MySql to 8.0.0-beta.2 Should fix the MissingMethodException error in unit tests * Update CI workflow to use .NET 8 * Apply suggested change from compile time warnings * Fix digest tests * Bump dependencies once more * Update xunit * Remove obsolete ISystemClock from TokenAuthHandler * Update dependencies * Add digest debug preprocessors back * Maybe don't break #966 * Bump EF Driver and update various NET7 references * Fix warnings in digest middleware tests --------- Co-authored-by: Slendy <josh@slendy.pw>
14 lines
No EOL
470 B
Bash
14 lines
No EOL
470 B
Bash
#!/bin/sh
|
|
# Startup script for production
|
|
#
|
|
# $1: Server to start; case sensitive!!!!!
|
|
# Called from systemd units
|
|
|
|
cd "$HOME"/data || (echo "Data directory not found, pls create one~" && exit 1)
|
|
|
|
echo "Running..."
|
|
|
|
# Normally this requires ASPNETCORE_URLS but we override that in the configuration
|
|
dotnet ../project-lighthouse/ProjectLighthouse.Servers."$1"/bin/Release/net8.0/LBPUnion.ProjectLighthouse.Servers."$1".dll
|
|
|
|
exit $? # Expose error code from dotnet command |