Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519542 - media-tv/xbmc request systemd service to launch at boot
Summary: media-tv/xbmc request systemd service to launch at boot
Status: RESOLVED DUPLICATE of bug 500166
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-10 02:07 UTC by Michael Jones
Modified: 2014-08-10 07:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Jones 2014-08-10 02:07:51 UTC
Perhaps something like


[Unit]                                                                                                       
Description = Starts instance of XBMC using xinit
After = systemd-user-sessions.service network.target
Conflicts=getty@tty7.service
[Service]    
User=xbmc
Group=xbmc
PAMName=login
Type=simple
TTYPath=/dev/tty7
ExecStart=/usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc-standalone -- :0 -nolisten tcp vt7
Restart=on-abort

[Install]                                                                                                        
WantedBy = multi-user.target

Reproducible: Always
Comment 1 Ben Kohler gentoo-dev 2014-08-10 02:12:02 UTC
Probably a dupe of bug #500166 but maybe it's time to look at this again
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-10 07:56:44 UTC

*** This bug has been marked as a duplicate of bug 500166 ***