Chromium Code Reviews| 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..31e6b310c0098e0192e42046fe6b4b9524a8b997 |
| --- /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 -s USR1 remoting_me2me_host || true |
|
Lambros
2012/08/17 00:14:11
Are you sure about USR1, doesn't that just tell it
Jamie
2012/08/17 00:21:13
I think you're thinking of SIGHUP. The reason I we
Sergey Ulanov
2012/08/17 00:23:59
This will only restart the host. If the daemon cod
Jamie
2012/08/17 01:21:28
That's right. I'm planning a follow-up CL to handl
|
| + ;; |
| +esac |
| + |
| +#DEBHELPER# |