Skip to content

Commit

Permalink
enhancement: use exec to run headless
Browse files Browse the repository at this point in the history
  • Loading branch information
bredo228 committed Jul 18, 2024
1 parent 83a6d8a commit 1d7c7b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/launch-resonite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ find /Logs -type f -name *.log -atime +${LOG_RETENTION:-30} -delete
cd /home/container/Headless/net8.0

if [ "${ENABLE_MODS}" = "true" ]; then
dotnet Resonite.dll -HeadlessConfig /Config/${CONFIG_FILE} -Logs /Logs/ -LoadAssembly Libraries/ResoniteModLoader.dll ${ADDITIONAL_ARGUMENTS}
exec dotnet Resonite.dll -HeadlessConfig /Config/${CONFIG_FILE} -Logs /Logs/ -LoadAssembly Libraries/ResoniteModLoader.dll ${ADDITIONAL_ARGUMENTS}
else
dotnet Resonite.dll -HeadlessConfig /Config/${CONFIG_FILE} -Logs /Logs/ ${ADDITIONAL_ARGUMENTS}
exec dotnet Resonite.dll -HeadlessConfig /Config/${CONFIG_FILE} -Logs /Logs/ ${ADDITIONAL_ARGUMENTS}
fi

0 comments on commit 1d7c7b3

Please sign in to comment.