| Index: powerm.conf
|
| diff --git a/powerm.conf b/powerm.conf
|
| index abfd9a95c3c4f01bccbd5d0ea1af101064fab162..78fad1b3cf1a7166f0c3eac2ca4fb3bf3306b1f2 100644
|
| --- a/powerm.conf
|
| +++ b/powerm.conf
|
| @@ -10,6 +10,7 @@ stop on starting halt or starting reboot
|
|
|
| env LOG_DIR=/var/log/power_manager
|
| env RUN_DIR=/var/run/power_manager
|
| +env PREFS_DIR=/var/lib/power_manager
|
|
|
| respawn
|
| respawn limit 20 60 # if the job respawns 20 times in 60 seconds, stop trying.
|
| @@ -20,6 +21,7 @@ mkdir -p ${LOG_DIR} ${RUN_DIR}
|
| # powerd will create files here as well
|
| chmod a+w ${RUN_DIR}
|
| exec /usr/bin/powerm \
|
| + --prefs_dir=${PREFS_DIR} \
|
| --log_dir=${LOG_DIR} \
|
| --run_dir=${RUN_DIR} \
|
| > ${LOG_DIR}/powerm.out 2>&1
|
|
|