如何启动、停止或重启 Spire.Cloud 服务

当我们在使用 Spire.Cloud 在线编辑过程中遇到下列情况之一时,需要重启 Spire.Cloud 服务(cloudServers.sh 和 exampleServices.sh)。

在 windows 系统中,通常会手动停止 Spire.Cloud 服务,然后重启即可。本文重点描述在 linux 系统中如何启动、停止或重启 Spire.Cloud 服务

首先,请注意重启服务的程序在 spire.cloud 目录下,需要先进入 spire.cloud 目录再执行指令

如何启动、停止或重启 Spire.Cloud 服务

停止 exampleServices.sh 和 cloudServers.sh 服务指令:./exampleServices.sh stop./cloudServices.sh stop

启动 exampleServices.sh 和 cloudServers.sh 服务指令:./exampleServices.sh start./cloudServices.sh start

重启 exampleServices.sh 和 cloudServers.sh 服务指令 (最常用):./exampleServices.sh restart./cloudServices.sh restart

如下图所示:

如何启动、停止或重启 Spire.Cloud 服务

希望以上 Spire.Cloud 的启动、停止、重启等命令操作对您有帮助。若还有任何疑问,请及时联系我们。