summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-02-22 22:41:34 +0000
committerMike Frysinger <vapier@gentoo.org>2003-02-22 22:41:34 +0000
commit3de8ce723158b1ad31f58f8a02d0873546c279e1 (patch)
tree10cc6bb89f55e7bc16684460585de8b160a266f8 /net-misc/rsync/files
parentnew version, now compiles agains libpng-1.2!, (diff)
downloadgentoo-2-3de8ce723158b1ad31f58f8a02d0873546c279e1.tar.gz
gentoo-2-3de8ce723158b1ad31f58f8a02d0873546c279e1.tar.bz2
gentoo-2-3de8ce723158b1ad31f58f8a02d0873546c279e1.zip
add conf.d and init.d files
Diffstat (limited to 'net-misc/rsync/files')
-rw-r--r--net-misc/rsync/files/digest-rsync-2.5.6-r11
-rw-r--r--net-misc/rsync/files/digest-rsync-2.5.6_pre200211051
-rw-r--r--net-misc/rsync/files/rsyncd.conf.d9
-rw-r--r--net-misc/rsync/files/rsyncd.init.d20
4 files changed, 30 insertions, 1 deletions
diff --git a/net-misc/rsync/files/digest-rsync-2.5.6-r1 b/net-misc/rsync/files/digest-rsync-2.5.6-r1
new file mode 100644
index 000000000000..e15009102ca5
--- /dev/null
+++ b/net-misc/rsync/files/digest-rsync-2.5.6-r1
@@ -0,0 +1 @@
+MD5 ec39fcea433df4d6a3a4e0896c655535 rsync-2.5.6.tar.gz 584678
diff --git a/net-misc/rsync/files/digest-rsync-2.5.6_pre20021105 b/net-misc/rsync/files/digest-rsync-2.5.6_pre20021105
deleted file mode 100644
index f1e52f8ae562..000000000000
--- a/net-misc/rsync/files/digest-rsync-2.5.6_pre20021105
+++ /dev/null
@@ -1 +0,0 @@
-MD5 113d4b942000e46946a3bdba27e069a3 rsync-2.5.6_pre20021105.tar.bz2 368755
diff --git a/net-misc/rsync/files/rsyncd.conf.d b/net-misc/rsync/files/rsyncd.conf.d
new file mode 100644
index 000000000000..705fea473530
--- /dev/null
+++ b/net-misc/rsync/files/rsyncd.conf.d
@@ -0,0 +1,9 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/files/rsyncd.conf.d,v 1.1 2003/02/22 22:41:09 vapier Exp $
+
+# Config file for /etc/init.d/rsyncd
+
+# see man pages for rsync or run `rsync --help`
+# for valid cmdline options
+#RSYNC_OPTS=""
diff --git a/net-misc/rsync/files/rsyncd.init.d b/net-misc/rsync/files/rsyncd.init.d
new file mode 100644
index 000000000000..4ec480125e2a
--- /dev/null
+++ b/net-misc/rsync/files/rsyncd.init.d
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/files/rsyncd.init.d,v 1.1 2003/02/22 22:41:09 vapier Exp $
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting rsyncd"
+ rsync --daemon ${RSYNC_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping rsyncd"
+ kill `cat /var/run/rsyncd.pid`
+ eend $?
+}