Add module to monitor swap usage
To make our self-hosted Gitea server more stable, write a module for hbsdmon that monitors swap use. If the usage reaches or is greater than a configurable limit, perform a configurable action. The action will be run after a Pushover message is published.
When this module is deployed, default to 0B swap use and reboot action. Meaning, ANY swap usage will cause the server to reboot.
Edited by Shawn Webb