Apcupsd
Apcupsd A Linux utility that interacts with APC UPS.
Announcement and talks
The Apcupsd app announcement
Sources
Apcupsd is a community application from the mrmarkuz repository. Documentation and source can be found on Github. Please see the excerpt from the readme below.
- README.md
Instantiate the module with: add-module ghcr.io/nethserver/apcupsd:latest 1 The output of the command will return the instance name. Output example: {"module_id": "apcupsd1", "image_name": "apcupsd", "image_url": "ghcr.io/nethserver/apcupsd:latest"} ## Configure Let's assume that the mattermost instance is named `apcupsd1`. Launch `configure-module`, by setting the following parameters: - `host`: a fully qualified domain name for the application - `http2https`: enable or disable HTTP to HTTPS redirection (true/false) - `lets_encrypt`: enable or disable Let's Encrypt certificate (true/false) Example: ``` api-cli run configure-module --agent module/apcupsd1 --data - <<EOF { "host": "apcupsd.domain.com", "http2https": true, "lets_encrypt": false } EOF ``` The above command will: - start and configure the apcupsd instance - configure a virtual host for trafik to access the instance ## Get the configuration You can retrieve the configuration with ``` api-cli run get-configuration --agent module/apcupsd1 ``` ## Uninstall To uninstall the instance: remove-module --no-preserve apcupsd1

