CLI Commands

Check service status

Run ginc-radar-ctl status to check current state of Ginc Radar components

Example output:

ginc-radar-app         RUNNING   pid 284, uptime 0:00:18
ginc-radar-nginx       RUNNING   pid 281, uptime 0:00:18
ginc-radar-postgres    RUNNING   pid 282, uptime 0:00:18
ginc-radar-redis       RUNNING   pid 283, uptime 0:00:18

Tail logs

Tail Ginc Radar log

Run ginc-radar-ctl tail or ginc-radar-ctl tail app to tail Ginc Radar log.

Tail Nginx log

Run ginc-radar-ctl tail nginx to tail Nginx log.

Tail PostgreSQL log

Run ginc-radar-ctl tail postgres to tail PostgreSQL log

Tail Redis log

Run ginc-radar-ctl tail redis to tail PostgreSQL log

Start/Stop/Restart

Start commands

Run:

  • ginc-radar-ctl start to start all components from scratch (including supervisord)

  • ginc-radar-ctl start app/nginx/postgres/redis to start single component

Restart commands

Run:

  • ginc-radar-ctl restart to restart all components

  • ginc-radar-ctl restart app/nginx/postgres/redis to restart single component

Stop commands

Run:

  • ginc-radar-ctl stop to stop all components (including supervisord)

  • ginc-radar-ctl stop app/nginx/postgres/redis to stop single component