Last updated
Was this helpful?
Last updated
Was this helpful?
Jibril can be run as a systemd service.
This is the recommended way to run Jibril in staging/production environments. The following steps will guide you through the installation and configuration of Jibril as a systemd service.
To install the service, run:
This command will create:
The systemd service will be installed, but not enabled yet.
Edit the configuration file at /etc/jibril/config.yaml
. The default configuration enables Jibril with most of its plugins and the detection events.
The default configuration should be changed for production environments. It is recommended to fine-tune the configuration files to enable only the necessary plugins, printers and events.
After editing the configuration file, enable the service by running:
This will enable the service to start at boot time AND start the service immediately.
To check the status of the service, run:
The varlog
printer is enabled by default in the configuration file. This means that the JSON events are printed to /var/log/jibril/events.log
, while Jibril stdout and stderr are redirected to systemd journal.
To check the logs, run:
and to check the events, run:
God forbid, but if you need to disable the service, run:
This will disable the service from starting at boot time AND stop the service immediately.
Install Jibril as a systemd service.