Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 362796 Details for
Bug 490766
sys-auth/keystone-2013-2 - init.d script should set --log-file /var/log/keystone
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init.d file with --log-file option defined
keystone.initd (text/plain), 1.25 KB, created by
Davide Rebeccani
on 2013-11-08 18:11:15 UTC
(
hide
)
Description:
init.d file with --log-file option defined
Filename:
MIME Type:
Creator:
Davide Rebeccani
Created:
2013-11-08 18:11:15 UTC
Size:
1.25 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-auth/keystone/files/keystone.initd,v 1.2 2013/08/13 16:36:17 prometheanfire Exp $ > >depend() { > need net >} > >BASENAME=$(echo $SVCNAME | cut -d '-' -f 1) > >checkconfig() { > if [ ! -r /etc/conf.d/$BASENAME ]; then > eerror "No keystone service confd file found: /etc/conf.d/$BASENAME)" > return 1 > fi > . /etc/conf.d/$BASENAME > > if [ ! -r ${CONFIG_FILE} ]; then > eerror "No keystone config file found: ${CONFIG_FILE})" > return 1 > fi > > return 0 >} > > >start() { > checkconfig || return $? > . /etc/conf.d/$BASENAME > > if [ ! -d ${PID_PATH} ]; then > mkdir ${PID_PATH} > fi > > ebegin "Starting ${SVCNAME}" > > start-stop-daemon --start --quiet --make-pidfile --pidfile "${PID_PATH}/${SVCNAME}.pid" \ > --exec /usr/bin/${SVCNAME}-all --background -- --config-file=${CONFIG_FILE} \ > --log-file=${LOG_FILE} > > eend $? "Failed to start ${SVCNAME}" >} > >stop() { > checkconfig || return $? > . /etc/conf.d/$BASENAME > > ebegin "Stopping ${SVCNAME}" > > start-stop-daemon --stop --pidfile "${PID_PATH}/${SVCNAME}.pid" \ > --exec /usr/bin/${SVCNAME}-all > eend $? "Failed to stop ${SVCNAME}" >} > >#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 490766
:
362794
|
362796