Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 350962 Details for
Bug 425132
dev-db/riak - highly scalable, schema-free document-oriented database
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-db/files/riak-1.3.1.initd
riak-1.3.1.initd (text/plain), 1.49 KB, created by
Matthias Krull
on 2013-06-14 20:30:41 UTC
(
hide
)
Description:
dev-db/files/riak-1.3.1.initd
Filename:
MIME Type:
Creator:
Matthias Krull
Created:
2013-06-14 20:30:41 UTC
Size:
1.49 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > need net >} > >start() { > ebegin "Start ${SVCNAME}" > if [[ "${RIAK_USER}" != "riak" && "${RIAK_USER}" != "root" ]]; then > ewarn "make sure ${RIAK_USER} has the permission to use riaks files and directories" > fi > > # warn on low ulimit > local ULIMIT=$(ulimit -n) > if [[ $ULIMIT < 4096 ]]; then > ewarn "Current ulimit -n is $ULIMIT. 4096 is the recommended minimum." > fi > > # warn on insecure cert and key permissions > if [[ -f /etc/riak/cert.pem ]]; then > local CERT_P=$(stat -c %a /etc/riak/cert.pem) > if [[ $CERT_P != 600 ]]; then > ewarn "Check the permissions on the riak certificate /etc/riak/cert.pem." > ewarn "Permissions are $CERT_P, recommendet are 600." > fi > fi > if [[ -f /etc/riak/key.pem ]]; then > local KEY_P=$(stat -c %a /etc/riak/key.pem) > if [[ $KEY_P != 600 ]]; then > ewarn "Check the permissions on the riak key /etc/riak/key.pem" > ewarn "Permissions are $KEY_P, recommendet are 600." > fi > fi > > start-stop-daemon --background --start --user ${RIAK_USER} --exec /usr/bin/riak -- start > eend $? >} > >stop() { > ebegin "Stopping ${SVCNAME}" > /usr/bin/riak stop 2>&1 > /dev/null > local EPMD=$(ps aux|grep -e '/usr/lib/riak/erts-.*/bin/epmd'|grep -v grep|awk '{ print $2 }') > kill $EPMD > eend $? >} > >status() { > ebegin "${SVCNAME} member status" > /usr/bin/riak-admin member_status > > ebegin "${SVCNAME} ring status" > /usr/bin/riak-admin ring_status > eend $? >} >
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 425132
:
349732
|
349734
|
349736
|
349738
|
350960
|
350962
|
350964
|
350966
|
351228
|
351230
|
351232
|
351234
|
351510
|
351520
|
351522
|
351816
|
351818
|
352852
|
354924
|
354926
|
354928
|
355352
|
355354
|
355356
|
356736
|
356738
|
356740
|
356742