Created
February 4, 2013 08:24
-
-
Save tru/4705609 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "Plex Home Theater" | |
author "tobias hieta" | |
start on ((filesystem | |
and runlevel [!06] | |
and started dbus | |
and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1 | |
or stopped udev-fallback-graphics)) | |
or runlevel PREVLEVEL=S) | |
stop on runlevel [06] | |
env XBMC_HOME=/opt/plexhometheater/share/XBMC | |
script | |
exec 2>> /tmp/test.log | |
set -x | |
start-stop-daemon --start -c tru --background --pidfile /var/run/pht.pid --make-pidfile --exec /usr/bin/xinit -- /opt/plexhometheater/bin/plexhometheater --standalone -- :0 | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment