Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 219341 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), 1.65 KB, created by
Tom Hendrikx
on 2010-02-12 16:01:05 UTC
(
hide
)
Description:
net-dns/opendnssec/files/opendnssec.initd
Filename:
MIME Type:
Creator:
Tom Hendrikx
Created:
2010-02-12 16:01:05 UTC
Size:
1.65 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 >signer_binary=/usr/sbin/ods-signer >signer_pidfile=/var/lib/run/opendnssec/signerd.pid >enforcer_binary=/usr/sbin/ods-enforcerd >enforcer_pidfile=/var/lib/run/opendnssec/enforcerd.pid > >depend() { > need net > use logger >} > >checkconfig() { > out=$($checkconf_binary) > return $(echo $out | grep ERROR | wc -l) >} > > >start_signerd() { > checkconfig || return $? > ebegin "Starting OpenDNSSEC Signer" > start-stop-daemon --start --exec "${signer_binary}" --pidfile "${signer_pidfile}" -- start > /dev/null > > # ugly trick to generate a pidfile, idea from tools/solaris/ods-signerd.init.in > sleep 1 > local pid=$(ps -ef | grep 'signer/Engine.py' | grep -v grep | awk '{ print $2 }') > if [ -n "$pid" ]; then > echo $pid > "${signer_pidfile}" > eend 0 > else > eend 1 > fi >} > >stop_signerd() { > ebegin "Stopping OpenDNSSEC Signer" > start-stop-daemon --stop --exec "${signer_binary}" --pidfile "${signer_pidfile}" -- stop > /dev/null > eend $? >} > >start_enforcerd() { > checkconfig || return $? > ebegin "Starting OpenDNSSEC Enforcer" > start-stop-daemon --start --exec "${enforcer_binary}" --pidfile "${enforcer_pidfile}" > /dev/null > eend $? >} > >stop_enforcerd() { > ebegin "Stopping OpenDNSSEC Enforcer" > start-stop-daemon --stop --exec "${enforcer_binary}" --pidfile "${enforcer_pidfile}" > /dev/null > eend $? >} > >start() { > start_signerd > start_enforcerd >} > >stop() { > stop_enforcerd > stop_signerd >} > >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