Processes

This document outlines the processes which will be running on your server when the Sirportly software is running. These processes are managed by systemd so you can start and stop them using the commands listed below.

The Web Server

Sirportly runs its own web server on port 8080 (by default). You can use other services (such as Apache or nginx) to put this onto port 80 or to add SSL on port 443. Further details about this can be found on the Setting up SSL page.

The web server is responsible for serving all the dynamic pages as well as all API content.

$ systemctl start sirportly-web # starts the sirportly web server
$ systemctl restart sirportly-web # restarts the sirportly web server
$ systemctl stop sirportly-web # stops the sirportly web server

The Worker

The Sirportly worker is responsible for carrying out actions in the background. It runs continuously and monitoring your database to retrieve tasks which need to be performed. For example, it will process follow-ups when appropriate, it'll test your incoming addresses, deliver SMS messages and much more.

$ systemctl start sirportly-worker # starts the sirportly worker
$ systemctl restart sirportly-worker # restarts the sirportly worker
$ systemctl stop sirportly-worker # stops the sirportly worker

The Cron

The Sirportly cron is responsible for running tasks on an hourly basis (for example, any rules which have been scheduled to run hourly). This process runs all the time (although it'll be sleeping for most of the time).

$ systemctl start sirportly-cron # starts the sirportly cron
$ systemctl restart sirportly-cron # restarts the sirportly cron
$ systemctl stop sirportly-cron # stops the sirportly cron

Solr

The Sirportly Solr service is responsible for full text search.

$ systemctl start sirportly-solr # starts the sirportly solr service
$ systemctl restart sirportly-solr # restarts the sirportly solr service
$ systemctl stop sirportly-solr # stops the sirportly solr service

Proudly powered by Katapult. Running on 100% renewable energy.