Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 361554 Details for
Bug 368497
app-admin/lsyncd - add init.d and configuration files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/lsyncd.initd
lsyncd.initd (text/plain), 923 bytes, created by
Bertrand Jacquin
on 2013-10-21 19:36:00 UTC
(
hide
)
Description:
files/lsyncd.initd
Filename:
MIME Type:
Creator:
Bertrand Jacquin
Created:
2013-10-21 19:36:00 UTC
Size:
923 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >: ${pidfile:=/run/${RC_SVCNAME}.pid} > >: ${LSYNCD_CONFIG_FILE:=/etc/lsyncd.conf} >: ${LSYNCD_USER:=nobody} > >depend() { > after bootmisc > use logger >} > >checkconfig() { > if [[ ! -f "${LSYNCD_CONFIG_FILE}" ]] ; then > eerror "File ${LSYNCD_CONFIG_FILE} is missing" > eerror "See sample in /usr/share/lsyncd*/" > return 1 > fi > > checkpath -f \ > -o "${LSYNCD_USER}" \ > "${pidfile}" \ > || return 1 > > return 0 >} > >start() { > checkconfig || return $? > > ebegin "Starting ${RC_SVCNAME}" > start-stop-daemon --start \ > --user "${LSYNCD_USER}" \ > --exec /usr/bin/lsyncd \ > --pidfile "${pidfile}" \ > -- \ > -pidfile "${pidfile}" \ > ${LSYNCD_OPTS} \ > "${LSYNCD_CONFIG_FILE}" > eend $? >} > >stop() { > ebegin "Stopping ${RC_SVCNAME}" > start-stop-daemon --stop \ > --pidfile "${pidfile}" > eend $? >}
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 368497
:
274431
| 361554 |
361556