summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-12-22 12:46:59 +0000
committerPacho Ramos <pacho@gentoo.org>2013-12-22 12:46:59 +0000
commit7901fdbe98b8dd234a5a5460b9b5d01160a740f7 (patch)
tree0d52cb5d0953e6f1257d32b2a8212f75da460191 /lxde-base
parentStable for ppc64, wrt bug #486046 (diff)
downloadgentoo-2-7901fdbe98b8dd234a5a5460b9b5d01160a740f7.tar.gz
gentoo-2-7901fdbe98b8dd234a5a5460b9b5d01160a740f7.tar.bz2
gentoo-2-7901fdbe98b8dd234a5a5460b9b5d01160a740f7.zip
Add unit file (#488014)
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'lxde-base')
-rw-r--r--lxde-base/lxdm/ChangeLog6
-rw-r--r--lxde-base/lxdm/files/lxdm.service12
-rw-r--r--lxde-base/lxdm/lxdm-0.4.1-r8.ebuild5
3 files changed, 20 insertions, 3 deletions
diff --git a/lxde-base/lxdm/ChangeLog b/lxde-base/lxdm/ChangeLog
index c97b4131bb75..9f23a077b020 100644
--- a/lxde-base/lxdm/ChangeLog
+++ b/lxde-base/lxdm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for lxde-base/lxdm
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxdm/ChangeLog,v 1.29 2013/12/22 12:24:48 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxdm/ChangeLog,v 1.30 2013/12/22 12:46:59 pacho Exp $
+
+ 22 Dec 2013; Pacho Ramos <pacho@gentoo.org> +files/lxdm.service,
+ lxdm-0.4.1-r8.ebuild:
+ Add unit file (#488014)
22 Dec 2013; Markos Chandras <hwoarang@gentoo.org>
files/lxdm-0.4.1-optional-consolekit.patch:
diff --git a/lxde-base/lxdm/files/lxdm.service b/lxde-base/lxdm/files/lxdm.service
new file mode 100644
index 000000000000..bf4a0a800f26
--- /dev/null
+++ b/lxde-base/lxdm/files/lxdm.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=LXDE Display Manager
+Conflicts=getty@tty1.service plymouth-quit.service
+After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
+
+[Service]
+ExecStart=/usr/sbin/lxdm
+Restart=always
+IgnoreSIGPIPE=no
+
+[Install]
+Alias=display-manager.service
diff --git a/lxde-base/lxdm/lxdm-0.4.1-r8.ebuild b/lxde-base/lxdm/lxdm-0.4.1-r8.ebuild
index 437f3d81ee98..c7c8a8eab9d4 100644
--- a/lxde-base/lxdm/lxdm-0.4.1-r8.ebuild
+++ b/lxde-base/lxdm/lxdm-0.4.1-r8.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxdm/lxdm-0.4.1-r8.ebuild,v 1.1 2013/12/22 12:19:53 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxdm/lxdm-0.4.1-r8.ebuild,v 1.2 2013/12/22 12:46:59 pacho Exp $
EAPI="2"
WANT_AUTOMAKE="1.12" #493996
-inherit eutils autotools
+inherit eutils autotools systemd
DESCRIPTION="LXDE Display Manager"
HOMEPAGE="http://lxde.org"
@@ -77,6 +77,7 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS README TODO || die
+ systemd_dounit "${FILESDIR}"/${PN}.service
}
pkg_postinst() {