Skip to content

Commit

Permalink
Improve setting zray.zendserver_ui_url before starting Zend Server in…
Browse files Browse the repository at this point in the history
… Zend Stack (#2910)

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
  • Loading branch information
kaloyan-raev authored and Stévan Le Meur committed Oct 28, 2016
1 parent 5f1913d commit 28fc3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ide/che-core-ide-stacks/src/main/resources/stacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -1988,7 +1988,7 @@
{
"name": "restart zend server",
"type": "custom",
"commandLine": "sudo sed -i 's#zray.zendserver_ui_url=.*#zray.zendserver_ui_url=http://${server.port.10081}/ZendServer#g' /usr/local/zend/etc/conf.d/zray.ini && sudo /usr/local/zend/bin/zendctl.sh restart",
"commandLine": "sudo sqlite3 /usr/local/zend/var/db/zsd.db \"UPDATE ZSD_DIRECTIVES SET DISK_VALUE='http://${server.port.10081}/ZendServer' WHERE NAME='zray.zendserver_ui_url'\" && sudo sed -i 's#zray.zendserver_ui_url=.*#zray.zendserver_ui_url=http://${server.port.10081}/ZendServer#g' /usr/local/zend/etc/conf.d/zray.ini && sudo /usr/local/zend/bin/zendctl.sh restart",
"attributes": {
"previewUrl": "http://${server.port.80}"
}
Expand Down

0 comments on commit 28fc3f8

Please sign in to comment.