Guest User

Untitled

a guest
Sep 30th, 2015
54
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #################################################################################
  2. # #
  3. # The following configuration file is generated automatically by the yaVDR #
  4. # system. Don't change this file as every update of yaVDR will overwrite #
  5. # the local changes. Instead put your required customizations #
  6. # into /etc/yavdr/templates_custom/ based on the original templates #
  7. # under /usr/share/yavdr/templates. #
  8. # #
  9. # http://www.yavdr.org/developer-zone/template-overview/ #
  10. # #
  11. # #
  12. #################################################################################
  13. description "XBMC Daemon"
  14. author "Steffen Barszus <steffenbpunkt@gmail.com>"
  15.  
  16. env DISPLAY=:1
  17. export DISPLAY
  18.  
  19. env HOME=/var/lib/vdr
  20. export HOME
  21.  
  22. setuid vdr
  23. setgid audio
  24.  
  25.  
  26. pre-start script
  27.  
  28. vdr-dbus-send /Remote remote.Disable ||:
  29. if [ ! -z $STANDALONE ] ; then
  30. touch /tmp/.standalone
  31. fi
  32.  
  33.  
  34. end script
  35.  
  36.  
  37. post-stop script
  38. /bin/rm -f /tmp/.standalone
  39. vdr-dbus-send /Remote remote.Enable ||:
  40. /sbin/initctl emit --no-wait vdr-frontend-restart
  41. end script
  42.  
  43. exec /usr/lib/xbmc/xbmc.bin --standalone --lircdev /var/run/lirc/lircd
RAW Paste Data