summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Erculiani <lxnay@gentoo.org>2013-05-20 09:10:45 +0000
committerFabio Erculiani <lxnay@gentoo.org>2013-05-20 09:10:45 +0000
commite335638fc3e930049ac7c6683cf73383b363e479 (patch)
tree16105514134ced3132f6daebd8f9040bb1704e7a /app-admin/metalog
parentadd systemd unit on behalf of the systemd team, fix bug #466562 (diff)
downloadgentoo-2-e335638fc3e930049ac7c6683cf73383b363e479.tar.gz
gentoo-2-e335638fc3e930049ac7c6683cf73383b363e479.tar.bz2
gentoo-2-e335638fc3e930049ac7c6683cf73383b363e479.zip
add systemd unit on behalf of the systemd team, fix bug #465984, overriding unresponsive maintainer
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key ADC916E5)
Diffstat (limited to 'app-admin/metalog')
-rw-r--r--app-admin/metalog/ChangeLog9
-rw-r--r--app-admin/metalog/files/metalog.service10
-rw-r--r--app-admin/metalog/metalog-3.ebuild7
3 files changed, 21 insertions, 5 deletions
diff --git a/app-admin/metalog/ChangeLog b/app-admin/metalog/ChangeLog
index f28ecb1c19db..a92209253a0f 100644
--- a/app-admin/metalog/ChangeLog
+++ b/app-admin/metalog/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/metalog
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/ChangeLog,v 1.105 2012/08/20 02:52:02 vapier Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/ChangeLog,v 1.106 2013/05/20 09:10:45 lxnay Exp $
+
+ 20 May 2013; Fabio Erculiani <lxnay@gentoo.org> metalog-3.ebuild,
+ +files/metalog.service:
+ add systemd unit on behalf of the systemd team, fix bug #465984, overriding
+ unresponsive maintainer
20 Aug 2012; Mike Frysinger <vapier@gentoo.org> metalog-3.ebuild:
Pull in pkg-config #431908 by Hans.
diff --git a/app-admin/metalog/files/metalog.service b/app-admin/metalog/files/metalog.service
new file mode 100644
index 000000000000..adc66ba98157
--- /dev/null
+++ b/app-admin/metalog/files/metalog.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=System Logger Daemon
+Names=syslog.service
+
+[Service]
+ExecStart=/usr/sbin/metalog
+Restart=always
+
+[Install]
+Alias=syslog.service
diff --git a/app-admin/metalog/metalog-3.ebuild b/app-admin/metalog/metalog-3.ebuild
index 8c5571135ada..f82a61250405 100644
--- a/app-admin/metalog/metalog-3.ebuild
+++ b/app-admin/metalog/metalog-3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-3.ebuild,v 1.2 2012/08/20 02:52:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-3.ebuild,v 1.3 2013/05/20 09:10:45 lxnay Exp $
EAPI="3"
-inherit eutils
+inherit eutils systemd
DESCRIPTION="A highly configurable replacement for syslogd/klogd"
HOMEPAGE="http://metalog.sourceforge.net/"
@@ -37,6 +37,7 @@ src_install() {
newinitd "${FILESDIR}"/metalog.initd metalog
newconfd "${FILESDIR}"/metalog.confd metalog
+ systemd_dounit "${FILESDIR}/${PN}.service"
}
pkg_preinst() {