# This is the configuration file for PowerNap.
# See powernap(1) for more information.

# This file is Python syntax, and will be sourced by the powernap daemon
# on start. To enact changes to this configuration, restart the daemon.
# Example:
#   /etc/init.d/powernap restart

# The MONITORED_PROCESSES variable should be a Python list of quoted regular
# expressions.
# Each item in this list will be compared against the output of "ps -eo args".
# The default is to monitor /sbin/init, which should always be running.
# Examples:
#   MONITORED_PROCESSES = [ "kvm ", "sshd: .*\[priv\]$" ]
#   MONITORED_PROCESSES = [ "mplayer ", "xine ", "vlc " ]
#   MONITORED_PROCESSES = [ "^/sbin/init" ]
MONITORED_PROCESSES = [ "^/sbin/init" ]

# Number of seconds that all processes must be absent from the process table and
# no keyboard activity on any terminals.
# The default is an absence period of 5 minutes.
# Example:
#   ABSENT_SECONDS = 300
ABSENT_SECONDS = 300

# Grace period, after ABSENT_SECONDS have elapsed with all of MONITORED_PROCESSES
# absent from the process table, that the system will allow for an administrator
# to kill powernapd and thereby cancel the /usr/sbin/powernap action.
# The default grace period is 60 seconds.
# Example:
#   GRACE_SECONDS = 60
GRACE_SECONDS = 60

# The powernap daemon will wake every INTERVAL_SECONDS and check the process
# table for matching processes.  Lower values of INTERVAL_SECONDS will provide
# more detailed process monitoring but will consume more system resources.
# Higher values of INTERVAL_SECONDS will consume less system resources, but
# might miss processes that execute for less than INTERVAL_SECONDS.
# The minimum runtime of a MONITORED_PROCESSES should not be less than
# INTERVAL_SECONDS.
# The default interval is 1 second.
# Example:
#   INTERVAL_SECONDS = 1
INTERVAL_SECONDS = 1

# The powernap daemon logs errors to /var/log/powernap.err, and some basic
# information to /var/log/powernap.log.  To change the verbosity of this
# logging, set DEBUG to 0, 1, 2, or 3:
# The default debug level is 0.
#    DEBUG = 1
#    DEBUG = 2
DEBUG = 0
