Difference between pages "Package:APC UPS Daemon" and "Package:Postfix"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
{{Ebuild
{{Ebuild
|Summary=APC UPS daemon with integrated network-based remote shutdown
|Summary=A fast and secure drop-in replacement for sendmail.
|CatPkg=sys-power/apcupsd
|CatPkg=mail-mta/postfix
|Repository=Gentoo Portage Tree
|Maintainer=
|Homepage=http://www.postfix.org
}}
}}
<blockquote>
"Apcupsd can be used for power mangement and controlling most of APC's UPS models on Unix and Windows machines. Apcupsd works with most of APC's Smart-UPS models as well as most simple signalling models such a Back-UPS, and BackUPS-Office. During a power failure, apcupsd will inform the users about the power failure and that a shutdown may occur. If power is not restored, a system shutdown will follow when the battery is exhausted, a timeout (seconds) expires, or runtime expires based on internal APC calculations determined by power consumption rates. Apcupsd is licensed under the GPL version 2." [http://www.apcupsd.org/]
</blockquote>
==Installation==
=== Emerging ===
Emerge {{Package|sys-power/acpupsd}}:
<console>
###i## emerge apcupsd
</console>
==Configuration and Runlevel Registration==
Edit your <tt>/etc/apcupsd/apcupsd.conf</tt> properly.
To start <tt>apcupsd</tt>, run the following:
<console>
###i## /etc/init.d/apcupsd start
</console>
To add <tt>apcupsd</tt> to the appropriate runlevels, execute the following commands:
<console>
###i## rc-update add apcupsd default
* service apcupsd added to runlevel default
###i## rc-update add apcupsd.powerfail shutdown
* service apcupsd added to runlevel shutdown
</console>
==Check UPS status==
Finally, to check on the status of <tt>acpupsd</tt>, run the following:
<console>
###i## apcaccess status
###i## tail -f /var/log/apcupsd.events
</console>
[[Category:System]]
[[Category:First Steps]]
{{EbuildFooter}}
{{EbuildFooter}}

Revision as of 22:57, September 16, 2014

Postfix

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.