-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
To have a working installation, you need the binary file and the configuration file. Also, if you use systemd, a service file is provided. The default paths for these files are:
-
/usr/bin/goshawk- the binary file is meant to be run as root, as some verification scripts will need those permissions. -
/etc/goshawk.yml- the configuration file is owned by root and has permissions 0600, so other users should not read API keys. -
/usr/lib/systemd/system/goshawk.service- the service file is configured by default without the verification hash.
Currently, only amd64 and arm64 builds are provided through GitHub workflows.
You can add the gonimals repository and install the goshawk package directly in a RedHat based server with these commands:
sudo curl -L -o /etc/yum.repos.d/gonimals.repo gonimals.github.io/gonimals.repo
sudo dnf install goshawkThis will add a gpgchecked repository and will let you ensure that, if you have automatic updates configured, your installation will be up to date.
The package is automatically published to the AUR with the package name goshawk-bin. You can use an AUR helper to install it even more easily:
yay -S goshawk-binFor other linux distributions, you can run the installer:
curl -L https://github.com/gonimals/goshawk/raw/refs/heads/main/deploy/install.sh | sudo bashYou can compile and install the binary file by running the following command:
go install github.com/gonimals/goshawk
This method is similar to clone the repository and compile it or to download the binary file from the GitHub releases section. Ensure you have a configuration file template and a systemd service file.