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

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

Issue 1073883002: Change logging to syslog; fix CRD in Yosemite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
diff --git a/remoting/host/installer/mac/Scripts/remoting_postflight.sh b/remoting/host/installer/mac/Scripts/remoting_postflight.sh
index 2790e470c07eb5ef19f651be43035725abdf5a35..890a8eb8ef542e5151996a3ff64bf54e5de51962 100755
--- a/remoting/host/installer/mac/Scripts/remoting_postflight.sh
+++ b/remoting/host/installer/mac/Scripts/remoting_postflight.sh
@@ -15,7 +15,6 @@ PLIST=/Library/LaunchAgents/org.chromium.chromoting.plist
PAM_CONFIG=/etc/pam.d/chrome-remote-desktop
ENABLED_FILE="$HELPERTOOLS/$SERVICE_NAME.me2me_enabled"
ENABLED_FILE_BACKUP="$ENABLED_FILE.backup"
-LOG_FILE=/var/log/org.chromium.chromoting.log
KSADMIN=/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/MacOS/ksadmin
KSUPDATE=https://tools.google.com/service/update2
@@ -74,14 +73,6 @@ else
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).
-# Make sure admins have write privileges (CRD users are
-# typically admins)
-touch "$LOG_FILE"
-chown :admin "$LOG_FILE"
-chmod 660 "$LOG_FILE"
-
# Load the service for each user for whom the service was unloaded in the
# preflight script (this includes the root user, in case only the login screen
# is being remoted and this is a Keystone-triggered update).
« no previous file with comments | « remoting/host/installer/mac/LaunchAgents/org.chromium.chromoting.plist ('k') | remoting/host/logging_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698