systemd¶
- Create a new Systemd unit file in /etc/systemd/system/:
$ sudo vi /etc/systemd/system/asab.service
Adjust the example of SystemD unit file.
- 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
- 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