← all formulas

Daemon for controlling APC UPSes

Version
v3.14.14
License
GPL-2.0-only
Tap
homebrew/core
Bottle
available
Revision
bottledlicense declaredhomepageactivekeg-linked

Install

shell
$ brew install apcupsd

Caveats

For apcupsd to be able to communicate with UPSes connected via USB, the kernel extension must be installed by the root user: sudo cp -pR $HOMEBREW_CELLAR/apcupsd/3.14.14/Library/Extensions/ApcupsdDummy.kext /System/Library/Extensions/ sudo chown -R root:wheel /System/Library/Extensions/ApcupsdDummy.kext sudo touch /System/Library/Extensions/ Note: The kernel extension currently does not work as expected. You will have to unplug and plug the USB cable back in after each reboot in order for apcupsd to be able to connect to the UPS. To load apcupsd at startup, activate the included Launch Daemon: sudo cp $HOMEBREW_CELLAR/apcupsd/3.14.14/lib/Library/LaunchDaemons/org.apcupsd.apcupsd.plist /Library/LaunchDaemons sudo chmod 644 /Library/LaunchDaemons/org.apcupsd.apcupsd.plist sudo launchctl load -w /Library/LaunchDaemons/org.apcupsd.apcupsd.plist If this is an upgrade and you already have the Launch Daemon loaded, you have to unload the Launch Daemon before reinstalling it: sudo launchctl unload -w /Library/LaunchDaemons/org.apcupsd.apcupsd.plist sudo rm /Library/LaunchDaemons/org.apcupsd.apcupsd.plist

Command palette

Jump anywhere, search packages, change settings.

apcupsd - Homebrew Formula | BrewDB