Anthony Messina wrote:
On Monday 25 February 2008 06:50:10 am Anthony Messina wrote:
  
you don't need to.  just comment out the following line
in /etc/init.d/mythbackend:
daemon --user mythtv $binary $OPTIONS
    

the above works, but skip this part:

  
and add a $ before HOME in the "export HOME" just a few lines above that.
    

it doesn't fix the error about /var/lib/mythtv during backend startup

  

_______________________________________________ atrpms-users mailing list [email protected] http://lists.atrpms.net/mailman/listinfo/atrpms-users
Hello Anthony ,

I have reverted the change to export HOME  now it reads like this :

start() {
  echo -n $"Starting $prog: "
  touch /var/run/mythbackend.pid; chown mythtv:mythtv /var/run/mythbackend.pid
  MYTHCONFDIR="$MYTHTV_HOME"
  export $MYTHCONFDIR
  HOME="$MYTHTV_HOME"
  export HOME
  cd $MYTHTV_HOME
  # Does not work on Red Hat, do to to missing audio/video groups.
  #daemon --user mythtv $binary $OPTIONS
  daemon $binary $OPTIONS
  RETVAL=$?
  echo
  [ $RETVAL = 0 ] && touch /var/lock/subsys/$prog
  return $RETVAL
}


And when doing a restart on mythbackend I get :

[EMAIL PROTECTED] init.d]# service mythbackend restart
Stopping mythbackend:                                      [  OK  ]
Starting mythbackend: /etc/init.d/mythbackend: line 30: export: `/home/mythtv': not a valid identifier
                                                           [  OK  ]
[EMAIL PROTECTED] init.d]# service mythbackend status
mythbackend (pid 4026) is running...
[EMAIL PROTECTED] init.d]#


It looks much better now , any suggestion on how to fix the remaining issue ? I guess it could wait until Axel re-issues the update ?

Much appreciate it

Milorad






_______________________________________________
atrpms-users mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-users

Reply via email to