rsync: added a runit service for the daemon mode.
This commit is contained in:
parent
f1204d5278
commit
eb284da397
2 changed files with 8 additions and 1 deletions
3
srcpkgs/rsync/files/rsyncd/run
Normal file
3
srcpkgs/rsync/files/rsyncd/run
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
[ ! -e /etc/rsyncd.conf ] && exit 1
|
||||
exec rsyncd --daemon --no-detach
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue