need help creating Systemd init script for XBMC
#1
I have looked around the forum and web in general and have not found a script for starting XBMC directly with systemd (there are several scripts for upstart as such). I am sure there is a few users that would like to see it appear as well.

I have tried to get it working, but does not even start not to mention getting suspend and company working...

If anyone has any ideas I would greatly appreciate it!
Reply
#2
there are several around the web and this forum. Afaik Arch linux ships one by default
Reply
#3
Indeed arch linux has the init script! thanks

https://www.archlinux.org/packages/community/i686/xbmc/
Its contents below

xbmc.service
Code:
[Unit]
Description = Starts instance of XBMC using xinit
After = remote-fs.target

[Service]
User = xbmc
Group = xbmc
Type = simple
ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -l /run/lirc/lircd -- :0 -nolisten tcp
Restart = on-abort

[Install]
WantedBy = multi-user.target
Reply

Logout Mark Read Team Forum Stats Members Help
need help creating Systemd init script for XBMC0