From b7319ea2859c415a8d360e21a7fc4485a97904e5 Mon Sep 17 00:00:00 2001 From: Kyle Nusbaum Date: Tue, 17 Sep 2019 14:07:33 -0500 Subject: [PATCH] lsyncd: Fix run file, adopt the package --- srcpkgs/lsyncd/files/lsyncd/log/run | 2 ++ srcpkgs/lsyncd/files/lsyncd/run | 3 +-- srcpkgs/lsyncd/template | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100755 srcpkgs/lsyncd/files/lsyncd/log/run diff --git a/srcpkgs/lsyncd/files/lsyncd/log/run b/srcpkgs/lsyncd/files/lsyncd/log/run new file mode 100755 index 00000000000..114c954f1d9 --- /dev/null +++ b/srcpkgs/lsyncd/files/lsyncd/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec logger -t lsyncd -p 'daemon.info' diff --git a/srcpkgs/lsyncd/files/lsyncd/run b/srcpkgs/lsyncd/files/lsyncd/run index 1fdafa74033..c6baeb891c2 100644 --- a/srcpkgs/lsyncd/files/lsyncd/run +++ b/srcpkgs/lsyncd/files/lsyncd/run @@ -1,4 +1,3 @@ #!/bin/sh [ -r ./conf ] && . ./conf -exec 1>&2 -exec lsyncd "${CONF_FILE:-'/etc/lsyncd/lsyncd.conf.lua'}" +exec lsyncd -nodaemon "${CONF_FILE:-/etc/lsyncd/lsyncd.conf.lua}" diff --git a/srcpkgs/lsyncd/template b/srcpkgs/lsyncd/template index 35fed9a6e23..a6923503734 100644 --- a/srcpkgs/lsyncd/template +++ b/srcpkgs/lsyncd/template @@ -1,14 +1,14 @@ # Template file for 'lsyncd' pkgname=lsyncd version=2.2.3 -revision=1 +revision=2 wrksrc="${pkgname}-release-${version}" build_style=cmake hostmakedepends="asciidoc lua" makedepends="lua-devel" depends="rsync" short_desc="Syncing Daemon that synchronizes local directories with remote targets" -maintainer="Orphaned " +maintainer="Kyle Nusbaum " license="GPL-2.0-or-later" homepage="https://github.com/axkibe/lsyncd" distfiles="https://github.com/axkibe/lsyncd/archive/release-${version}.tar.gz"