rsync: added a runit service for the daemon mode.

This commit is contained in:
Juan RP 2014-12-11 14:16:17 +01:00
parent f1204d5278
commit eb284da397
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
[ ! -e /etc/rsyncd.conf ] && exit 1
exec rsyncd --daemon --no-detach

View file

@ -1,7 +1,7 @@
# Template file for 'rsync'
pkgname=rsync
version=3.1.1
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="perl"
makedepends="zlib-devel acl-devel popt-devel"
@ -11,3 +11,7 @@ license="GPL-3"
homepage="http://samba.anu.edu.au/rsync/"
distfiles="http://www.samba.org/ftp/rsync/src/rsync-$version.tar.gz"
checksum=7de4364fcf5fe42f3bdb514417f1c40d10bbca896abe7e7f2c581c6ea08a2621
post_install() {
vsv rsyncd
}