Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 302327 Details for
Bug 441675
server daemon fails to start out-of-the-box
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
new version of daemon initscript
bcfg2-server (text/plain), 1.64 KB, created by
Juha Tuomala
on 2008-04-14 11:11:40 UTC
(
hide
)
Description:
new version of daemon initscript
Filename:
MIME Type:
Creator:
Juha Tuomala
Created:
2008-04-14 11:11:40 UTC
Size:
1.64 KB
patch
obsolete
>#!/bin/sh ># ># Bcfg2Server - Bcfg2 configuration daemon ># ># chkconfig: 235 99 20 ># description: bcfg2 server for centralized configuration requests and management. > >### BEGIN INIT INFO ># Provides: bcfg2-server ># Required-Start: $local_fs $network ># Required-Stop: $local_fs ># Default-Start: 2 3 5 ># Default-Stop: 0 1 6 ># Short-Description: Configuration management Server ># Description: Bcfg2 is a configuration management system that builds ># installs configuration files served by bcfg2-server >### END INIT INFO > >. /etc/rc.d/init.d/functions > >exec="/usr/sbin/bcfg2-server" >prog="bcfg2-server" >config="/etc/bcfg2.conf" > >SERVER_OPTIONS="" >[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog >lockfile=/var/lock/subsys/$prog > >start() { > [ -x $exec ] || exit 5 > [ -f $config ] || exit 6 > echo -n $"Starting $prog: " > daemon $exec -D /var/run/$prog.pid ${SERVER_OPTIONS} > retval=$? > echo > [ $retval -eq 0 ] && touch $lockfile > return $retval >} > >stop() { > echo -n $"Stopping $prog: " > killproc $prog > retval=$? > echo > [ $retval -eq 0 ] && rm -f $lockfile > return $retval >} > >restart() { > stop > start >} > >reload() { > restart >} > >force_reload() { > restart >} > >rh_status() { > status $prog >} > >rh_status_q() { > rh_status >/dev/null 2>&1 >} > > >case "$1" in > start) > rh_status_q && exit 0 > $1 > ;; > stop) > rh_status_q || exit 0 > $1 > ;; > restart) > $1 > ;; > reload) > rh_status_q || exit 7 > $1 > ;; > force-reload) > force_reload > ;; > status) > rh_status > ;; > condrestart|try-restart) > rh_status_q || exit 0 > restart > ;; > *) > echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}" > exit 2 >esac >exit $? >
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 441675
:
301971
| 302327