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 310530 Details for
Bug 444760
Review Request: obm - Open Business Management
[?]
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.
init script for satellite
obm-satellite (text/plain), 1.69 KB, created by
Remi Collet
on 2008-06-29 08:34:04 UTC
(
hide
)
Description:
init script for satellite
Filename:
MIME Type:
Creator:
Remi Collet
Created:
2008-06-29 08:34:04 UTC
Size:
1.69 KB
patch
obsolete
>#!/bin/bash >############################################################################### ># Script de gestion du serveur obmSatellite.pl >############################################################################### ># init-obmSatellite Startup script for the obm-satellite Server ># ># chkconfig: - 99 10 ># description: OBM-Satellite is a server which do some remote operation needed ># by some OBM modules ># processname: obmSatellite.pl ># config: /path/to/obm/auto/obmSatellite/obmSatellite.cf ># pidfile: /var/run/obmSatellite.pid > ># Source function library. >. /etc/rc.d/init.d/functions > > >OBMPATH="/usr/share/obm-satellite" >daemon_path="$OBMPATH/obmSatellite.pl" >daemon_dir="/var/run/obm" >daemon_pid=$daemon_dir"/obmSatellite.pid" >lockfile="/var/lock/subsys/obm-satellite" >prog=obm-Satellite >RETVAL=0 > >if [ ! -d $daemon_dir ]; then > /bin/mkdir $daemon_dir >fi > >start() { > echo -n $"Starting $prog: " > daemon --pidfile=${daemon_pid} $daemon_path > RETVAL=$? > echo > [ $RETVAL = 0 ] && touch ${lockfile} > return $RETVAL >} > >stop() { > echo -n $"Stopping $prog: " > killproc -p ${daemon_pid} $daemon_path > RETVAL=$? > echo > [ $RETVAL = 0 ] && rm -f ${lockfile} ${daemon_pid} >} > >reload() { > echo -n $"Reloading $prog: " > if [ -e $daemon_pid ]; then > kill -HUP `cat $daemon_pid` > RETVAL=$? > else > RETVAL=$? > echo "Reloading failed." > fi >} > > >case "$1" in > start) > start > ;; > stop) > stop > ;; > status) > status $daemon_path > RETVAL=$? > ;; > restart) > stop > start > ;; > reload) > reload > ;; > *) > echo "Usage : $0 start|stop|reload|restart" > RETVAL=3 > ;; >esac > >exit $RETVAL
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 444760
:
310528
|
310529
| 310530