Skip to content

Commit

Permalink
make docker startscript use V4 instead of V3
Browse files Browse the repository at this point in the history
  • Loading branch information
helto4real committed Nov 3, 2023
1 parent 45047bd commit 2ec5187
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Docker/rootfs/etc/services.d/netdaemon/run
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ else
exit 1
fi

echo -e "\\033[32mStarting NetDaemon V3 pre-built runtime using assembly ${NetDaemon__ApplicationAssembly}...\\033[0m" >&2
echo -e "\\033[32mStarting NetDaemon V4 pre-built runtime using assembly ${NetDaemon__ApplicationAssembly}...\\033[0m" >&2
cd "$(dirname "${NetDaemon__ApplicationAssembly}")" || echo -e "\\033[31mCould not change directory to run project\\033[0m" >&2

if [[ "${PWD}" != "$(dirname "${NetDaemon__ApplicationAssembly}")" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion Docker/rootfs/etc/services.d/netdaemon_addon/run
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ else
bashio::exit.nok "The assembly ${NetDaemon__ApplicationAssembly} cannot be found. Please check the settings."
fi

bashio::log.info "Starting NetDaemon V3 pre-built Runtime using assembly ${NetDaemon__ApplicationAssembly}..."
bashio::log.info "Starting NetDaemon V4 pre-built Runtime using assembly ${NetDaemon__ApplicationAssembly}..."
cd "$(dirname "${NetDaemon__ApplicationAssembly}")" || bashio::exit.nok "Could not change directory to run project"

exec dotnet "$(basename "${NetDaemon__ApplicationAssembly}")"
Expand Down

0 comments on commit 2ec5187

Please sign in to comment.