diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-08-17 18:13:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-08-17 18:13:04 +0000 |
commit | a85615526fdfe19b932da17c9cb6369911d7b9a6 (patch) | |
tree | 499c9f3f188fe674408f021bbb0c401c605ab1fb /app-admin | |
parent | add local nntp for evolution (diff) | |
download | gentoo-2-a85615526fdfe19b932da17c9cb6369911d7b9a6.tar.gz gentoo-2-a85615526fdfe19b932da17c9cb6369911d7b9a6.tar.bz2 gentoo-2-a85615526fdfe19b932da17c9cb6369911d7b9a6.zip |
conf.d file for watchdog init script
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/watchdog/files/watchdog | 4 | ||||
-rw-r--r-- | app-admin/watchdog/files/watchdog.conf.d | 6 | ||||
-rw-r--r-- | app-admin/watchdog/watchdog-5.2.4.ebuild | 5 | ||||
-rw-r--r-- | app-admin/watchdog/watchdog-5.2.ebuild | 5 |
4 files changed, 16 insertions, 4 deletions
diff --git a/app-admin/watchdog/files/watchdog b/app-admin/watchdog/files/watchdog index f86aad917932..53536a32a7a4 100644 --- a/app-admin/watchdog/files/watchdog +++ b/app-admin/watchdog/files/watchdog @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/files/watchdog,v 1.1 2004/08/06 05:39:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/files/watchdog,v 1.2 2004/08/17 18:13:04 vapier Exp $ depend() { need localmount @@ -19,7 +19,7 @@ checkconfig() { start() { checkconfig || return 1 ebegin "Starting watchdog" - start-stop-daemon --start --quiet --exec /usr/sbin/watchdog + start-stop-daemon --start --quiet --exec /usr/sbin/watchdog -- ${WATCHDOG_OPTS} eend $? } diff --git a/app-admin/watchdog/files/watchdog.conf.d b/app-admin/watchdog/files/watchdog.conf.d new file mode 100644 index 000000000000..e5ddc090f8af --- /dev/null +++ b/app-admin/watchdog/files/watchdog.conf.d @@ -0,0 +1,6 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/files/watchdog.conf.d,v 1.1 2004/08/17 18:13:04 vapier Exp $ + +# for more info, see watchdog(8) +WATCHDOG_OPTS="" diff --git a/app-admin/watchdog/watchdog-5.2.4.ebuild b/app-admin/watchdog/watchdog-5.2.4.ebuild index d2a2c2fd8a31..d1fba3e00a85 100644 --- a/app-admin/watchdog/watchdog-5.2.4.ebuild +++ b/app-admin/watchdog/watchdog-5.2.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/watchdog-5.2.4.ebuild,v 1.1 2004/08/06 05:39:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/watchdog-5.2.4.ebuild,v 1.2 2004/08/17 18:13:04 vapier Exp $ inherit eutils @@ -34,8 +34,11 @@ src_compile() { src_install() { dodir /etc/watchdog make DESTDIR="${D}" install || die + exeinto /etc/init.d doexe ${FILESDIR}/watchdog + insinto /etc/conf.d + newins ${FILESDIR}/watchdog.conf.d watchdog } pkg_postinst() { diff --git a/app-admin/watchdog/watchdog-5.2.ebuild b/app-admin/watchdog/watchdog-5.2.ebuild index 410dee50b916..684c739ca03e 100644 --- a/app-admin/watchdog/watchdog-5.2.ebuild +++ b/app-admin/watchdog/watchdog-5.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/watchdog-5.2.ebuild,v 1.21 2004/08/06 05:39:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/watchdog-5.2.ebuild,v 1.22 2004/08/17 18:13:04 vapier Exp $ inherit eutils @@ -33,8 +33,11 @@ src_compile() { src_install() { dodir /etc/watchdog make DESTDIR="${D}" install || die + exeinto /etc/init.d doexe ${FILESDIR}/watchdog + insinto /etc/conf.d + newins ${FILESDIR}/watchdog.conf.d watchdog } pkg_postinst() { |