summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/uptimed/ChangeLog7
-rw-r--r--app-misc/uptimed/files/uptimed.service10
-rw-r--r--app-misc/uptimed/uptimed-0.3.17-r1.ebuild5
3 files changed, 19 insertions, 3 deletions
diff --git a/app-misc/uptimed/ChangeLog b/app-misc/uptimed/ChangeLog
index 601076c02d6e..240c4bc68b25 100644
--- a/app-misc/uptimed/ChangeLog
+++ b/app-misc/uptimed/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/uptimed
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/ChangeLog,v 1.96 2013/04/29 09:24:12 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/ChangeLog,v 1.97 2013/05/20 09:23:15 lxnay Exp $
+
+ 20 May 2013; Fabio Erculiani <lxnay@gentoo.org> uptimed-0.3.17-r1.ebuild,
+ +files/uptimed.service:
+ add systemd unit on behalf of the systemd team, fix bug #468898, overriding
+ unresponsive maintainer
29 Apr 2013; Lars Wendler <polynomial-c@gentoo.org>
-uptimed-0.3.16-r6.ebuild, uptimed-0.3.17-r1.ebuild:
diff --git a/app-misc/uptimed/files/uptimed.service b/app-misc/uptimed/files/uptimed.service
new file mode 100644
index 000000000000..531c41570216
--- /dev/null
+++ b/app-misc/uptimed/files/uptimed.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Uptime record tracking daemon
+Documentation=man:uptimed(8) man:uprecords(1)
+
+[Service]
+ExecStartPre=/usr/sbin/uptimed -b
+ExecStart=/usr/sbin/uptimed -f
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-misc/uptimed/uptimed-0.3.17-r1.ebuild b/app-misc/uptimed/uptimed-0.3.17-r1.ebuild
index cbe989371e89..db5fa7cc019e 100644
--- a/app-misc/uptimed/uptimed-0.3.17-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.3.17-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/uptimed-0.3.17-r1.ebuild,v 1.10 2013/04/29 09:24:12 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/uptimed-0.3.17-r1.ebuild,v 1.11 2013/05/20 09:23:15 lxnay Exp $
EAPI=5
-inherit autotools eutils user
+inherit autotools eutils user systemd
DESCRIPTION="System uptime record daemon that keeps track of your highest uptimes"
HOMEPAGE="http://podgorny.cz/uptimed"
@@ -39,6 +39,7 @@ src_install() {
fowners uptimed:uptimed /var/spool/uptimed
dodoc ChangeLog README TODO AUTHORS CREDITS INSTALL.cgi sample-cgi/*
newinitd "${FILESDIR}"/uptimed.init uptimed
+ systemd_dounit "${FILESDIR}/${PN}.service"
}
pkg_postinst() {