diff --git a/Docker/rootfs/etc/services.d/NetDaemonApp/run b/Docker/rootfs/etc/services.d/NetDaemonApp/run index 3cf295fcd..f9ebdcdc3 100755 --- a/Docker/rootfs/etc/services.d/NetDaemonApp/run +++ b/Docker/rootfs/etc/services.d/NetDaemonApp/run @@ -11,15 +11,15 @@ if [ -z $NetDaemon__ApplicationAssembly ] then echo -e "\\033[32mStarting NetDaemon V3 runtime ...\\033[0m" >&2 cd "${daemondir}" - exec dotnet NetDaemon.Host.Default.dll + exec dotnet NetDaemon.Host.Default.dll else - if $NetDaemon__ApplicationAssembly == *.csproj ]]; + if [[ $NetDaemon__ApplicationAssembly == *.csproj ]]; then echo -e "\\033[31mcsproj deployments are not supported in v3, use compiled option instead!\\033[0m" >&2 exit 1 fi - if $NetDaemon__ApplicationAssembly != *".dll" + if [[ $NetDaemon__ApplicationAssembly != *".dll" ]]; then echo -e "\\033[31mAssembly needs to point to a .dll file!\\033[0m" >&2 exit 1