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

Unified Diff: remoting/host/installer/linux/debian/postinst

Issue 10857046: Stop remoting host on install. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Send SIGTERM instead of SIGUSR1 Created 8 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/linux/debian/.gitignore ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/installer/linux/debian/postinst
diff --git a/remoting/host/installer/linux/debian/postinst b/remoting/host/installer/linux/debian/postinst
new file mode 100755
index 0000000000000000000000000000000000000000..68b8d5892978cc68d905af716edaa5a3ea0f2577
--- /dev/null
+++ b/remoting/host/installer/linux/debian/postinst
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -e
+
+case $1 in
+ "configure")
+ echo "Shutting down remoting hosts (they will restart automatically)..."
+ killall -q remoting_me2me_host || true
+ ;;
+esac
+
+#DEBHELPER#
« no previous file with comments | « remoting/host/installer/linux/debian/.gitignore ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698