The Halon programs are installed using a Linux distribution package manager
according to the corresponding instructions, or by manually copying the files to the
Each program has a small startup configuration,
which contains settings such as
control socket paths and user privilege drop. Most importantly,
they point at the running configuration load path via
The default startup configuration files in /opt/halon/share/examples can normally be used.
The running configuration contains the bulk of the configuration data,
including all the Halon script.
To quickly get started, follow the steps below.
$ mkdir -p test/dist $ cd test $ cp -r /opt/halon/share/examples src $ halonconfig $ sudo cp dist/* /etc/halon/ $ sudo groupadd staff
- The default configuration in /opt/halon/share/examples is copied to a working directory
halonconfigscript prepares the configuration files
- The prepared configuration is copied from dist/ to /etc/halon/
- The default configuration allows users in the staff group to manage the MTA
When the initial configuration is in place, the programs can be enabled on system boot and started with:
$ sudo systemctl enable halon.service $ sudo systemctl start halon