First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 16505
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Michael Imhof <tantive@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin Holzer (RETIRED) <mholzer@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 16505 depends on: Show dependency tree
Show dependency graph
Bug 16505 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-02-27 17:14 0000
rsync init from system works with
rsync --daemon

the rsync init in gentoo-rsync-mirror with start-stop-daemon

------- Comment #1 From Martin Holzer (RETIRED) 2003-02-27 17:14:37 0000 -------
net-misc/rsync init

depend() {
        use net
}

start() {
        ebegin "Starting rsyncd"
        rsync --daemon ${RSYNC_OPTS}
        eend $?
}

stop() {
        ebegin "Stopping rsyncd"
        kill `cat /var/run/rsyncd.pid`
        eend $?
}

------- Comment #2 From Martin Holzer (RETIRED) 2003-02-27 17:15:11 0000 -------
gentoo-rsync-mirror init

depend() {
        need net
}

# FYI: --sparce seems to cause problems.
RSYNCOPTS="--daemon --safe-links --compress --bwlimit=700 --timeout=1800"

start() {
        ebegin "Starting rsync daemon"
        start-stop-daemon --start --quiet --pidfile /var/run/rsyncd.pid --exec /
usr/bin/rsync -- ${RSYNCOPTS}
        eend $?
}

stop() {
        ebegin "Stopping rsync daemon"

------- Comment #3 From Michael Imhof 2003-02-28 06:51:39 0000 -------
sorry, i only used the scripts provided in the official gentoo linux rsync
mirrors policy at http://www.gentoo.org/doc/en/rsync.xml

so i think the policy needs an update...
but i'll change the scripts anyway

------- Comment #4 From Michael Imhof 2003-03-19 13:43:33 0000 -------
Ok, i just committed gentoo-rsync-mirror-1.0-r2.ebuild with an updated version
of rsyncd.init.
Please check/test and report if it's stable enough for unmasking.

------- Comment #5 From Martin Holzer (RETIRED) 2003-03-19 15:39:36 0000 -------
works great

now the init script diff is only the parameter line

could be masked as stable i think

------- Comment #6 From Michael Imhof 2003-03-19 15:51:16 0000 -------
Ok, unmasked it and cleaned out old ebuilds.
Closing this bug now, thanks for your help.

First Last Prev Next    No search results available      Search page      Enter new bug