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

Unified Diff: remoting/host/installer/mac/Scripts/remoting_postflight.sh

Issue 12213059: Direct host output to a specific log file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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
Index: remoting/host/installer/mac/Scripts/remoting_postflight.sh
===================================================================
--- remoting/host/installer/mac/Scripts/remoting_postflight.sh (revision 180459)
+++ remoting/host/installer/mac/Scripts/remoting_postflight.sh (working copy)
@@ -60,6 +60,12 @@
logger PAM config has local edits. Not updating.
fi
+# Create the log file (if this isn't created ahead of time
+# then directing output from the service there won't work).
+# We also have to make sure that the file is read/write by all.
+touch /var/log/org.chromium.chromoting.log
+chmod a+rw /var/log/org.chromium.chromoting.log
Jamie 2013/02/07 02:22:16 I wonder if this would be better done as part of t
+
# Load the service.
# The launchctl command we'd like to run:
# launchctl load -w -S Aqua $PLIST

Powered by Google App Engine
This is Rietveld 408576698