Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 265231 Details for
Bug 37703
Requesting ebuild for the openca labs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
openca.init
openca.init (text/plain), 1.16 KB, created by
Petric Frank
on 2011-03-08 21:43:05 UTC
(
hide
)
Description:
openca.init
Filename:
MIME Type:
Creator:
Petric Frank
Created:
2011-03-08 21:43:05 UTC
Size:
1.16 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > need net > use apache myslq slapd postgresql > >} > >checkconfig() { > local ret=`grep "@default_web_password@" "/etc/openca/config.xml"` > if ! [ "x$ret" = "x" ] ; then > eerror "admin password set to default." > eerror "please configure openca first using" > eerror " emerge --config openca-base" > return 1; > fi > > return 0; >} > >start() { > ebegin "Starting OpenCA" > > checkconfig || return 1 > > if [ "/etc/openca/config.xml" -nt "/etc/openca/backup.xml" ] ; then > einfo "/etc/openca/config.xml have been changed - re-generate the dependent files" > if [ -f "/var/lib/openca/log/openca-configure.log" ] ; then > mv "/var/lib/openca/log/openca-configure.log" "/var/lib/openca/log/openca-configure.log.bak" > fi > /etc/openca/configure_etc.sh > "/var/lib/openca/log/openca-configure.log" > fi > > start-stop-daemon --start --make-pidfile --pidfile /var/run/openca --exec /etc/openca/openca_start > local ret=$? > if [ $ret > 0 ]; then > eend 1; > fi > > eend 0 >} > >stop() { > ebegin "Stopping OpenCA" > /etc/openca/openca_stop > eend 0 >} > >#restart() { ># >#}
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 37703
:
48941
|
48942
|
48943
|
66149
|
115485
|
223545
|
223729
|
234705
|
234817
|
234819
|
253723
|
265227
|
265229
| 265231 |
265233