Change atlassian.recovery.password when installed as a Windows service
When Stash is installed as a Windows service, the Stash home directory location the
setenv.bat is not used. This page outlines how to change this parameter when starting/stopping Stash as a Windows service.
How to change
STASH_HOME for the Windows service
- Stop the Stash service.
- Open the command window from
Start >> Run >> type in 'cmd' >> Enter
bindirectory the Stash Installation (
<Stash Installation dir>/bin).
Run from there:
A window will pop up. Click on the Java tab to see the list of current start-up options. Under "Java Options:" form, input the value:
- Restart Stash Service. From here the service will use the parameter as defined above.