<div class="gmail_quote">On Wed, Aug 10, 2011 at 2:00 PM, <span dir="ltr"><</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA">"Brian J. Murrell"
<<a href="mailto:brian@interlinx.bc.ca">brian@interlinx.bc.ca</a></span><span dir="ltr">></span> wrote:<br><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Sounds like you need an initscript, which naturally runs as root<br>
scheduled to run before the backend initscript.<br>
<br></blockquote><div><br>Yes, the initscript naturally running as root after (or before) the backend starts, that's the goal. <br>But how do I do it?<br>Elsewhere somebody suggested to add the instances included in the script to the mythbackend
startup script in /etc/init.d/mythtv-backend or
/etc/init/mythbackend.conf. Is that what you mean?<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Use the right tools for the right job. Having the backend run a script<br>
elevated to a privileged user that just ends up in the backend<br>
restarting itself is simply the wrong tool.<br>
<br></blockquote><div><br>I know, that's why I was asking!<br><br>Also, I'll give the rc.local approach suggested by Phill a try.<br><br>Thanks<br>Francesco</div><br></div><br>