Particular/ServiceControl

SCMU: Ability to launch RavenDB Server on console, bypassing maintenance mode

ramonsmits opened this issue · 0 comments

Describe the feature.

Have an option in advanced settings to launch RavenDB Server on the console instead of as a child process to a ServiceControl instance in maintenance mode.

This makes it possible to connect to RavenDB Studio without requiring any Windows Service startup and/or shutdown timeout issues.

Workaround

You can also manually launch this by location the executable but this requires copy/pasting the correct file paths.

set APP_PATH=C:\Program Files (x86)\Particular Software\Particular.Audit
set DB_PATH=
set LOG_PATH=C:\ProgramData\Particular\ServiceControl\Particular.Audit\Logs
set DB_PATH=C:\ProgramData\Particular\ServiceControl\Particular.Audit\DB

Raven.Server.exe 
--License.Path="%APP_PATH%\Persisters\RavenDB\RavenLicense.json"
--Logs.Mode=Operations
--Indexing.NuGetPackagesPath="%DB_PATH%\Packages\NuGet"
--License.Eula.Accepted=True
--Setup.Mode=None 
--DataDir=%DB_PATH%
--Logs.Path=%LOG_PATH%
--ServerUrl=http://localhost:44445