Skip to content

Commit 0b7c685

Browse files
authored
Merge pull request #304 from little-cui/SCB-391
SCB-391 SC does not rotate log file
2 parents 1b595b2 + c52afc5 commit 0b7c685

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/release/start_scripts/linux/start-service-center.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,12 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717

18+
set -e
19+
20+
root_path=$(cd "$(dirname "$0")"; pwd)
21+
22+
cd ${root_path}
23+
24+
sed -i "s|^runmode.*=.*$|runmode = prod|g" conf/app.conf
25+
1826
./service-center > start-sc.log 2>&1 &

0 commit comments

Comments
 (0)