From 75c8666ff431784afbfd419e0f2362fc293a4117 Mon Sep 17 00:00:00 2001 From: Tomas Mozes Date: Mon, 16 Oct 2017 14:32:44 +0200 Subject: app-emulation/xen-tools: add openrc init for xen-watchdog Closes: https://github.com/gentoo/gentoo/pull/5962 Signed-off-by: Yixun Lan --- 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(+) create mode 100644 app-emulation/xen-tools/files/xen-watchdog.initd (limited to 'app-emulation/xen-tools') 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 000000000000..6fbc54dfb2fa --- /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 1aac5f357a39..3de1759592f9 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 -- cgit v1.2.3-65-gdbad