Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: powerm.conf

Issue 6712051: Allow powerm to read prefs from /var/lib/power_manager (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/init.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698