Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 356502 Details for
Bug 481760
sys-cluster/quantum should install init.d scripts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/quantum script to start services
quantum.initd (text/plain), 1.35 KB, created by
Davide Rebeccani
on 2013-08-20 15:43:07 UTC
(
hide
)
Description:
/etc/init.d/quantum script to start services
Filename:
MIME Type:
Creator:
Davide Rebeccani
Created:
2013-08-20 15:43:07 UTC
Size:
1.35 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >depend() { > need net >} > >BASENAME=$(echo $SVCNAME | cut -d '-' -f 1) >SERVERNAME=$(echo $SVCNAME | cut -d '-' -f 2) > >checkconfig() { > if [ ! -r /etc/conf.d/$BASENAME ]; then > eerror "No quantum conf.d file found: /etc/conf.d/$BASENAME)" > return 1 > fi > return 0 >} > >start() { > checkconfig || return $? > . /etc/conf.d/$BASENAME > > ebegin "Starting ${SVCNAME}" > > start-stop-daemon --start \ > --user quantum:quantum \ > --quiet \ > --pidfile "${PID_PATH}/${SVCNAME}.pid" \ > --make-pidfile \ > --background \ > --exec /usr/bin/${SVCNAME} -- \ > --config-file /etc/quantum/quantum.conf \ > --config-file /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini \ > --log-file /var/log/quantum/server.log > > eend $? "Failed to start ${SVCNAME}" >} > >stop() { > checkconfig || return $? > . /etc/conf.d/$BASENAME > > ebegin "Stopping ${SVCNAME}" > > start-stop-daemon --stop --user quantum --quiet --pidfile "${PID_PATH}/${SVCNAME}.pid" \ > --exec /usr/bin/${SVCNAME} -- \ > --config-file /etc/quantum/quantum.conf \ > --config-file /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini \ > --log-file /var/log/quantum/server.log > 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 481760
:
356498
|
356500
|
356502
|
356510