[ About | Licence | Contacts ]
Written by Oleksandr Gavenko (AKA gavenkoa), compiled on 2020-02-13 from rev d88d5d1a8cd9+.

Systemd

Managing services

Display service details/status:

$ sudo systemctl show   my.service
$ sudo systemctl status my.service

Start/stop service:

$ sudo systemctl start   repricer-server.service
$ sudo systemctl stop    repricer-server.service
$ sudo systemctl restart repricer-server.service

Enabling/disabling service:

$ sudo systemctl enable  my.service
$ sudo systemctl disable my.service

Systemd journal

Get service console output:

$ journalctl -u repricer-server.service

Like tail -n 20:

$ journalctl -n 20 ...

Like tail -f:

$ journalctl -f ...