Overview

Request 399 (revoked)

I've copied a xbmc service file from archlinux to start xbmc directly after boot without an display manager or desktop environment

Submit package home:phils3r / xbmc-systemd to package Multimedia / xbmc-systemd

xbmc-systemd.changes Added
x
 
1
@@ -0,0 +1,5 @@
2
+-------------------------------------------------------------------
3
+Wed Mar  6 16:52:04 UTC 2013 - p.seiler@linuxmail.org
4
+
5
+- initial commit
6
+
7
xbmc-systemd.spec Added
47
 
1
@@ -0,0 +1,45 @@
2
+#
3
+# spec file for package 
4
+#
5
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
6
+#
7
+# All modifications and additions to the file contributed by third parties
8
+# remain the property of their copyright owners, unless otherwise agreed
9
+# upon. The license for this file, and modifications and additions to the
10
+# file, is the same license as for the pristine package itself (unless the
11
+# license for the pristine package is not an Open Source License, in which
12
+# case the license is the MIT License). An "Open Source License" is a
13
+# license that conforms to the Open Source Definition (Version 1.9)
14
+# published by the Open Source Initiative.
15
+
16
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
17
+#
18
+
19
+Name:           xbmc-systemd
20
+Version:        1.0
21
+Release:        1
22
+License:        GPL-2.0
23
+Summary:        Systemd Service for XBMC
24
+Url:            https://www.archlinux.org/packages/community/x86_64/xbmc/
25
+Group:          System/Base
26
+Source0:        xbmc.service
27
+Requires:       xbmc
28
+BuildArch:      noarch
29
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
30
+
31
+%description
32
+This package provides a service file to start XBMC without a desktop environment directly when the system boots
33
+
34
+%prep
35
+
36
+%build
37
+
38
+%install
39
+%{__install} -D -m0644 %{SOURCE0} %{buildroot}/lib/systemd/system/xbmc.service
40
+
41
+
42
+%files
43
+%defattr(-,root,root)
44
+/lib/systemd/system/xbmc.service
45
+
46
+%changelog
47
xbmc.service Added
15
 
1
@@ -0,0 +1,13 @@
2
+Unit
3
+Description = Starts instance of XBMC using xinit
4
+After = remote-fs.target
5
+
6
+Service
7
+User = xbmc
8
+Group = xbmc
9
+Type = simple
10
+ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -- :0
11
+Restart = always
12
+
13
+Install
14
+WantedBy = multi-user.target
15
Refresh
Refresh
Request History
Philipp Seiler's avatar

phils3r created request over 11 years ago

I've copied a xbmc service file from archlinux to start xbmc directly after boot without an display manager or desktop environment


Stefan Botter's avatar

jsjhb declined request almost 12 years ago

As Mariusz Fik already explained on the list, it is not really needed. Nevertheless it still might be a good idea to have it, but in my mind not as separate package. Can you rework that as submit agains xbmc itself, please adhere to http://en.opensuse.org/openSUSE:Systemd_packaging_guidelines, especially using %_unitdir? Also: where do user and group xbmc come from? You should create them in the package.


Philipp Seiler's avatar

phils3r revoked request over 11 years ago

Please add a comment