Name

sqctl — Squore launcher

Synopsis

sqctl [-c config.xml] start

sqctl [-c config.xml] stop

sqctl [-c config.xml] status

sqctl [-c config.xml] restart

Description

This launcher script is used to start and stop Squore Server, or query the status of the Squore Server processes.

Options

-c config.xml

Specifies the config.xml file to read to start the server.

Using this parameter is normally not needed.

start

Starts Squore Server by launching the following processes:

  1. PostgreSQL (if Squore Server uses a local PostgreSQL cluster)
  2. PhantomJS
  3. WildFly
stop

Stops Squore Server by stopping the following processes:

  1. WildFly
  2. PhantomJS
  3. PostgreSQL (if Squore Server uses a local PostgreSQL cluster)
status

Reports whether the PostgreSQL, PhantomJS and WildFly processes are running or stopped and exits.

restart

Stops and then starts Squore Server by stopping and starting the following processes:

  1. WildFly
  2. PhantomJS
  3. PostgreSQL (if Squore Server uses a local PostgreSQL cluster)
  4. PostgreSQL (if Squore Server uses a local PostgreSQL cluster)
  5. PhantomJS
  6. WildFly