maintainDB.sh

Would it be possible to update the maintainDB.sh so that is uses the same or similar properties as the teamcity-server.sh. Especially the log location setting, -Dteamcity_logs.
It would be helpful if this would use $TEAMCITY_LOG_PATH, as in the teamcity-server.sh.
Presently the setting is  -Dteamcity_logs=`dirname ../../logs, which causes problems if the logs have been moved in the teamcity-server.sh by using the TEAMCITY_LOG_PATH.


The reason is to avoid having to edit the file after each new release.

Thanks,

2 comments
Comment actions Permalink

Hi Ron,

There is no $TEAMCITY_LOG_PATH property in the default teamcity-server.sh script. It seems that it was modified. You can modify maintainDB.sh script the same way.
To save the path to logs you can use internal property teamcity_logs=path/to/logs. Please vote for the related feature request.

0
Comment actions Permalink

Hi Alina,

Thank you, I overlooked that is something I did so I could move the logs to a diffenerent location.

krgds.

Ron Barrett

0

Please sign in to leave a comment.