Skip to content

Grott as a service (Linux)

Johan Meijer edited this page Aug 26, 2020 · 1 revision

How to setup Grott as service with auto startup after boot

To enable continous Grott monitoring Grott can be runned as a standard linux service (deamon).

Add grott.service

  • copy grott.service in etc/systemd/system

Enable service

  • sudo systemctl enable grott

Start Service

  • sudo systemctl start grott

or

  • sudo service grott start

Stop Service

  • sudo systemctl stop grott

or

  • sudo service grott stop

Show status of the service:

  • sudo systemctl status grott

or

  • sudo service grott status

Journalctl

By default te grott service is sending the messages to the standard jounal system (syslog). -v option is specified for more information.

you can read the actual system journal by:

  • journalctl (displays actual journal file in total)

or

  • journalctl -u grott (displays only the grott messages)