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

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

Issue 2270063004: [Chromoting] Add more logging to Mac install script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add log when restoring _enabled file Created 4 years, 4 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 | « remoting/host/installer/mac/Scripts/remoting_postflight.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/installer/mac/Scripts/remoting_preflight.sh
diff --git a/remoting/host/installer/mac/Scripts/remoting_preflight.sh b/remoting/host/installer/mac/Scripts/remoting_preflight.sh
index b1f347fb6d18d0062819a92bdc99c95523533b51..e7eb29425327185f5562f7baaeabab58c6e5a937 100755
--- a/remoting/host/installer/mac/Scripts/remoting_preflight.sh
+++ b/remoting/host/installer/mac/Scripts/remoting_preflight.sh
@@ -58,6 +58,7 @@ logger Running Chrome Remote Desktop preflight script @@VERSION@@
# If there is an _enabled file, rename it while upgrading.
if [[ -f "$ENABLED_FILE" ]]; then
+ logger Moving _enabled file
mv "$ENABLED_FILE" "$ENABLED_FILE_BACKUP"
fi
@@ -67,6 +68,7 @@ fi
rm -f "$USERS_TMP_FILE"
for uid in $(find_users_with_active_hosts); do
+ logger Unloading service for user "$uid"
if [[ -n "$uid" ]]; then
echo "$uid" >> "$USERS_TMP_FILE"
if [[ "$uid" = "0" ]]; then
@@ -94,7 +96,9 @@ for uid in $(find_users_with_active_hosts); do
bootstrap_user="launchctl bsexec $pid"
fi
+ logger $bootstrap_user $sudo_user $stop
$bootstrap_user $sudo_user $stop
+ logger $bootstrap_user $sudo_user $unload
$bootstrap_user $sudo_user $unload
fi
done
« no previous file with comments | « remoting/host/installer/mac/Scripts/remoting_postflight.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698