http://www.byywee.com/page/M0/S931/931767.html
运行rejoin-stack.sh脚本的核心:
exec screen -c $TOP_DIR/stack-screenrc
stack-screenrc文件存储启动的信息:
例如trove的启动
screen -t tr-api bash stuff "/usr/local/bin/trove-api --config-file=/etc/trove/trove.conf --debug^M" logfile /opt/stack/logs/screen-tr-api.2015-01-09-134837.log log on screen -t tr-tmgr bash stuff "/usr/local/bin/trove-taskmanager --config-file=/etc/trove/trove-taskmanager.conf --debug^M" logfile /opt/stack/logs/screen-tr-tmgr.2015-01-09-134837.log log on screen -t tr-cond bash stuff "/usr/local/bin/trove-conductor --config-file=/etc/trove/trove-conductor.conf --debug^M" logfile /opt/stack/logs/screen-tr-cond.2015-01-09-134837.log log on
时间: 2024-10-31 21:53:36