Service is an application process with specified name and own configuration.
systemd. Systemd controls service status, checks service logs, and launches service on system startup.
You may launch on your server one or more services depends on your need.
astra init 8001 astra-1
Service name will be
astra-1 with the web interface port
In this example service name is default:
systemctl restart astra
systemctl start astra
systemctl stop astra
systemctl status astra
systemctl enable astra
|Launch service on system startup
systemctl disable astra
journalctl -fu astra
Before removing service, stop it and turn off autorun:
systemctl stop astra-1
systemctl disable astra-1
Then, remove service from systemd:
astra remove astra-1
This command remove service and log files, while keeping configuration and binary files.