systemd

  1. Create a new Systemd unit file in /etc/systemd/system/:
$ sudo vi /etc/systemd/system/asab.service

Adjust the example of SystemD unit file.

  1. Let systemd know that there is a new service:
$ sudo systemctl enable asab

To reload existing unit file after changing, use this:

$ sudo systemctl daemon-reload
  1. ASAB Application Server service for systemd is now ready.

Start of ASAB Server

$ sudo service asab start

Stop of ASAB Server

$ sudo service asab stop