diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2013-05-20 09:23:15 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2013-05-20 09:23:15 +0000 |
commit | 14b63c276ea2ee69b1e80a597e5d89bc40d21a1b (patch) | |
tree | 56f6bec3d9f2f3ea45d341f424597dd7debbdba3 /app-misc | |
parent | Update patchset to work correctly. Wrt bug#470166. (diff) | |
download | gentoo-2-14b63c276ea2ee69b1e80a597e5d89bc40d21a1b.tar.gz gentoo-2-14b63c276ea2ee69b1e80a597e5d89bc40d21a1b.tar.bz2 gentoo-2-14b63c276ea2ee69b1e80a597e5d89bc40d21a1b.zip |
add systemd unit on behalf of the systemd team, fix bug #468898, overriding unresponsive maintainer
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key ADC916E5)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/uptimed/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/uptimed/files/uptimed.service | 10 | ||||
-rw-r--r-- | app-misc/uptimed/uptimed-0.3.17-r1.ebuild | 5 |
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() { |