Created
October 20, 2014 18:19
-
-
Save vincentbernat/617e3e931074283df865 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[Unit] | |
Description = XBMC Media Center | |
After = remote-fs.target | |
After = syslog.target | |
[Service] | |
User = xbmc | |
Group = xbmc | |
Type = simple | |
Restart = always | |
RestartSec = 15 | |
KillMode = process | |
Environment = "AE_SINK=ALSA" | |
ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -- :0 | |
ExecStop = /usr/bin/xbmc-send --action="XBMC.Quit" | |
TTYPath = /dev/tty9 | |
StandardInput = tty | |
StandardOutput = journal | |
[Install] | |
WantedBy = multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment