Difference between revisions of "Debian init.d mythbackend"

From MythTV Official Wiki
Jump to: navigation, search
(suggested fix for HOME not being set)
Line 4: Line 4:
  
 
= Script =
 
= Script =
<pre><nowiki>
+
{{Box File|/etc/init.d/mythbackend|
 +
<pre>
 
##############################################################################
 
##############################################################################
 
#! /bin/sh
 
#! /bin/sh
Line 83: Line 84:
 
exit 0
 
exit 0
 
##############################################################################
 
##############################################################################
</nowiki></pre>
+
</pre>
 +
}}
  
 
A similar script to this was used in the mythtv deb package. It causes errors like: "errror creating /.qt" This error in itself seems benign. The cause of this error is the HOME environment setting not being set correctly. This caused more problems for tv listings updates that mythtv calls, or any other program that mythtv calls and assumes it can wrtie files to the home directory.
 
A similar script to this was used in the mythtv deb package. It causes errors like: "errror creating /.qt" This error in itself seems benign. The cause of this error is the HOME environment setting not being set correctly. This caused more problems for tv listings updates that mythtv calls, or any other program that mythtv calls and assumes it can wrtie files to the home directory.
Line 89: Line 91:
 
A simple fix, put
 
A simple fix, put
  
HOME=/home/mythtv
+
HOME=/home/mythtv
  
 
after the USER=mythtv line.
 
after the USER=mythtv line.

Revision as of 07:20, 24 March 2007

Debian /etc/init.d/mythbackend

An init.d script for launching mythbackend using the System V init in Debian.

Script

Template:Box File

A similar script to this was used in the mythtv deb package. It causes errors like: "errror creating /.qt" This error in itself seems benign. The cause of this error is the HOME environment setting not being set correctly. This caused more problems for tv listings updates that mythtv calls, or any other program that mythtv calls and assumes it can wrtie files to the home directory.

A simple fix, put

HOME=/home/mythtv

after the USER=mythtv line.