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 625342 Details for
Bug 864650
new lsyncd version available
[?]
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.
Updated sysvinit that checks for config file
lsyncd.init (text/plain), 1.82 KB, created by
Troy C
on 2012-10-11 06:30:48 UTC
(
hide
)
Description:
Updated sysvinit that checks for config file
Filename:
MIME Type:
Creator:
Troy C
Created:
2012-10-11 06:30:48 UTC
Size:
1.82 KB
patch
obsolete
>#!/bin/bash ># ># chkconfig: - 85 15 ># description: Lightweight inotify based sync daemon ># ># processname: lsyncd ># config: /etc/lsyncd.conf ># config: /etc/sysconfig/lsyncd ># pidfile: /var/run/lsyncd.pid > ># Source function library >. /etc/init.d/functions > ># Source networking configuration. >. /etc/sysconfig/network > ># Check that networking is up. >[ "$NETWORKING" = "no" ] && exit 0 > >OPTIONS="-pidfile /var/run/lsyncd.pid /etc/lsyncd.conf" > >if [ -e /etc/sysconfig/lsyncd ]; then > . /etc/sysconfig/lsyncd >fi > >RETVAL=0 > >prog="lsyncd" >thelock=/var/lock/subsys/lsyncd > >start() { > [ -f /etc/lsyncd.conf ] || exit 6 > echo -n $"Starting $prog: " > if [ $UID -ne 0 ]; then > RETVAL=1 > failure > else > daemon /usr/bin/lsyncd $OPTIONS > RETVAL=$? > [ $RETVAL -eq 0 ] && touch $thelock > fi; > echo > return $RETVAL >} > >stop() { > echo -n $"Stopping $prog: " > if [ $UID -ne 0 ]; then > RETVAL=1 > failure > else > killproc /usr/bin/lsyncd > RETVAL=$? > [ $RETVAL -eq 0 ] && rm -f $thelock > fi; > echo > return $RETVAL >} > >reload(){ > echo -n $"Reloading $prog: " > killproc /usr/bin/lsyncd -HUP > RETVAL=$? > echo > return $RETVAL >} > >restart(){ > stop > start >} > >condrestart(){ > [ -e $thelock ] && restart > return 0 >} > >case "$1" in > start) > start > ;; > stop) > stop > ;; > restart) > restart > ;; > reload) > reload > ;; > condrestart) > condrestart > ;; > status) > status lsyncd > RETVAL=$? > ;; > *) > echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" > RETVAL=1 >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 864650
:
624260
|
624261
|
624263
|
624264
|
625341
| 625342 |
625343
|
649455
|
649456
|
650554
|
650584
|
654490