<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I did not run into any problems on my
machine until now when using the PPA. :)<br>
<br>
On 12/11/2013 10:26 AM, Dimitri John Ledkov wrote:<br>
</div>
<blockquote
cite="mid:CANBHLUi5B_w8ZhFsdLCwRiXJgFAKvBaM86YkcCbxm+cD4bJOzQ@mail.gmail.com"
type="cite">
<pre wrap="">On 11 December 2013 09:09, Martin Pitt <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:martin.pitt@ubuntu.com"><martin.pitt@ubuntu.com></a> wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">> </span>Dimitri John Ledkov [2013-12-11 9:05 +0000]:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">>> </span>I see what you mean. one could iterate all user sessions and restart
<span class="moz-txt-citetags">>> </span>indicator-session in each one, but that is also intrusive.
</pre>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>That sounds interesting, and would avoid pkilling processes that you
<span class="moz-txt-citetags">> </span>run in chroots, source trees, etc. How would you do this?
<span class="moz-txt-citetags">></span>
</pre>
</blockquote>
<pre wrap="">for i in `ls <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>run/user<span class="moz-txt-tag">/</span></i>*<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>upstart/sessions<span class="moz-txt-tag">/</span></i>*.session`; do (export `cat
$i`; initctl restart indicator-session) ; done</pre>
</blockquote>
<br>
Isn't this a general thing that should be done when any user-level
service is upgraded?<br>
Would be nice if you defined a proper behavior for all those
upgrades once. I personally would prefer if the services restarted
directly and users don't have to relogin or do some manual process
killing.<br>
<br>
Kai<br>
</body>
</html>