Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 197825 Details for
Bug 273259
dev-db/mongodb (New package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mongodb-0.9.4 init
mongodb.init-0.9.4 (text/plain), 1.02 KB, created by
Wendall Cada
on 2009-07-13 19:00:56 UTC
(
hide
)
Description:
mongodb-0.9.4 init
Filename:
MIME Type:
Creator:
Wendall Cada
Created:
2009-07-13 19:00:56 UTC
Size:
1.02 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > need net >} > >start() { > ebegin "Starting ${SVCNAME}" > if test -z "$MONGODB_PID_FILE"; then > echo "* ERROR: MONGODB_PID_FILE must be set" > return -1 > fi > if test -z "$MONGODB_USER"; then > echo "* ERROR: MONGODB_USER must be set" > return -1 > fi > args="" > if test -n "$MONGODB_DATA"; then > args="$args --dbpath $MONGODB_DATA" > fi > if test -n "$MONGODB_PORT"; then > args="$args --port $MONGODB_PORT" > fi > if test -n "$MONGODB_IP"; then > args="$args --bind_ip $MONGODB_IP" > fi > if test -n "$MONGODB_OPTIONS"; then > args="$args $MONGODB_OPTIONS" > fi > > start-stop-daemon --background --start --user ${MONGODB_USER} --pidfile \ > "${MONGODB_PID_FILE}" --make-pidfile --exec ${MONGODB_EXEC} -- ${args} run > eend $? >} > >stop() { > ebegin "Stopping ${SVCNAME}" > start-stop-daemon --stop --exec ${EXEC} --pidfile ${MONGODB_PID_FILE} > eend $? "Failed to stop ${SVCNAME}" >}
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 273259
:
193936
|
194995
|
194997
|
197823
|
197825
|
197826
|
197874
|
197911
|
197913
|
197914
|
197915
|
198016
|
198736
|
206219
|
220265