Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 233185 Details for
Bug 304733
net-dns/opendnssec (New package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-dns/opendnssec/files/opendnssec.initd
opendnssec.initd (text/plain), 2.21 KB, created by
Tom Hendrikx
on 2010-05-27 21:44:02 UTC
(
hide
)
Description:
net-dns/opendnssec/files/opendnssec.initd
Filename:
MIME Type:
Creator:
Tom Hendrikx
Created:
2010-05-27 21:44:02 UTC
Size:
2.21 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># for openrc >description="An open-source turn-key solution for DNSSEC" > >checkconf_binary=/usr/bin/ods-kaspcheck >signerd_binary=/usr/sbin/ods-signer >signerd_pidfile=/var/lib/run/opendnssec/signerd.pid >enforcerd_binary=/usr/sbin/ods-enforcerd >enforcerd_pidfile=/var/lib/run/opendnssec/enforcerd.pid >eppclientd_binary=/usr/sbin/eppclientd >eppclientd_pidfile=/var/lib/run/opendnssec/eppclientd.pid > >depend() { > need net > use logger >} > >checkconfig() { > if [ -x "${checkconf_binary}" ]; then > output=$(${checkconf_binary}) > echo $output > > errors=$(echo $output | grep ERROR | wc -l) > if [ $errors -gt 0 ]; then > ewarn "$errors error(s) found in OpenDNSSEC configuration." > fi > return $errors > fi > return >} > >start_signerd() { > ebegin "Starting OpenDNSSEC Signer" > start-stop-daemon --start --exec "${signerd_binary}" --pidfile "${signerd_pidfile}" -- start > /dev/null > eend $? >} > >stop_signerd() { > ebegin "Stopping OpenDNSSEC Signer" > start-stop-daemon --stop --exec "${signerd_binary}" --pidfile "${signerd_pidfile}" -- stop > /dev/null > eend $? >} > >start_enforcerd() { > ebegin "Starting OpenDNSSEC Enforcer" > start-stop-daemon --start --exec "${enforcerd_binary}" --pidfile "${enforcerd_pidfile}" > /dev/null > eend $? >} > >stop_enforcerd() { > ebegin "Stopping OpenDNSSEC Enforcer" > start-stop-daemon --stop --exec "${enforcerd_binary}" --pidfile "${enforcerd_pidfile}" > /dev/null > eend $? >} > >start_eppclientd() { > if [ -x "${eppclientd_binary}" ]; then > ebegin "Starting OpenDNSSEC Eppclient" > start-stop-daemon --start --exec "${eppclientd_binary}" --pidfile "${eppclientd_pidfile}" > /dev/null > eend $? > fi >} > >stop_eppclientd() { > if [ -f "${eppclientd_pidfile}" ]; then > ebegin "Stopping OpenDNSSEC Eppclient" > start-stop-daemon --stop --exec "${eppclientd_binary}" --pidfile "${eppclientd_pidfile}" > /dev/null > eend $? > fi >} > >start() { > checkconfig || return $? > start_signerd || return $? > start_enforcerd || return $? > start_eppclientd || return $? >} > >stop() { > stop_enforcerd || return $? > stop_signerd || return $? > stop_eppclientd || return $? >} > >restart() { > checkconfig || return $? > svc_stop > svc_start >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 304733
:
219339
|
219341
|
219343
|
219345
|
219347
|
219349
|
219351
|
233181
|
233183
| 233185 |
246721
|
246723