commit: 75c8666ff431784afbfd419e0f2362fc293a4117 Author: Tomas Mozes <tmozes <AT> sygic <DOT> com> AuthorDate: Mon Oct 16 12:32:44 2017 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Tue Oct 17 07:24:31 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c8666f
app-emulation/xen-tools: add openrc init for xen-watchdog Closes: https://github.com/gentoo/gentoo/pull/5962 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> app-emulation/xen-tools/files/xen-watchdog.initd | 6 ++++++ app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild | 1 + 2 files changed, 7 insertions(+) diff --git a/app-emulation/xen-tools/files/xen-watchdog.initd b/app-emulation/xen-tools/files/xen-watchdog.initd new file mode 100644 index 00000000000..6fbc54dfb2f --- /dev/null +++ b/app-emulation/xen-tools/files/xen-watchdog.initd @@ -0,0 +1,6 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/sbin/xenwatchdogd" +command_args="30 15" diff --git a/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild b/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild index 1aac5f357a3..3de1759592f 100644 --- a/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild @@ -421,6 +421,7 @@ src_install() { newconfd "${FILESDIR}"/xencommons.confd xencommons newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev + newinitd "${FILESDIR}"/xen-watchdog.initd xen-watchdog if use screen; then cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die