Add rsyncd script for /etc/rc.d, now that inetd is no longer on by
default. Tweaks and feedback from ian@ sthen@ ajacoutot@. ok sthen@ ajacoutot@
This commit is contained in:
parent
894e8cddc5
commit
503f0857b8
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.70 2013/03/11 11:35:56 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.71 2013/04/22 16:00:11 krw Exp $
|
||||
|
||||
COMMENT = mirroring/synchronization over low bandwidth links
|
||||
|
||||
DISTNAME = rsync-3.0.9
|
||||
CATEGORIES = net
|
||||
HOMEPAGE = http://rsync.samba.org/
|
||||
REVISION = 2
|
||||
REVISION = 3
|
||||
|
||||
MAINTAINER = Marc Espie <espie@openbsd.org>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.13 2012/08/23 13:27:51 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.14 2013/04/22 16:00:11 krw Exp $
|
||||
@newgroup _rsync:669
|
||||
@newuser _rsync:669:_rsync:daemon:rsync Daemon:/var/empty:/sbin/nologin
|
||||
bin/rrsync
|
||||
@ -8,3 +8,4 @@ bin/rrsync
|
||||
share/doc/rsync/
|
||||
share/doc/rsync/tech_report.tex
|
||||
@extra ${SYSCONFDIR}/rsyncd.conf
|
||||
@rcscript ${RCDIR}/rsyncd
|
||||
|
11
net/rsync/pkg/rsyncd.rc
Executable file
11
net/rsync/pkg/rsyncd.rc
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD $
|
||||
|
||||
daemon="${TRUEPREFIX}/bin/rsync --daemon"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_reload=NO
|
||||
|
||||
rc_cmd $1
|
Loading…
Reference in New Issue
Block a user