From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] lsyncd: Fix run file, adopt the package
Date: Tue, 17 Sep 2019 22:24:22 +0200 [thread overview]
Message-ID: <20190917202422.m9g5Y1W229jhOhJZJ-CBDPcnXzvhN70sXwJr7NXR-Ug@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14526@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 793 bytes --]
There is an updated pull request by knusbaum against master on the void-packages repository
https://github.com/knusbaum/void-packages UPDATE_lsyncd-2.2.3
https://github.com/void-linux/void-packages/pull/14526
lsyncd: Fix run file, adopt the package
The service file for lsyncd has been broken for a little while.
This also adds a logger service to lsyncd.
I don't think this will affect anyone's existing setup in a negative way. If their config file specified a log file to write the logs to, it will continue to do so. If they didn't configure a log file in the lsyncd config, they didn't get logs before. In that case, logs will now appear in their system logger if they have one installed.
A patch file from https://github.com/void-linux/void-packages/pull/14526.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-UPDATE_lsyncd-2.2.3-14526.patch --]
[-- Type: text/x-diff, Size: 1836 bytes --]
From b7319ea2859c415a8d360e21a7fc4485a97904e5 Mon Sep 17 00:00:00 2001
From: Kyle Nusbaum <kylenusbaum@granular.ag>
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 <orphan@voidlinux.org>"
+maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/axkibe/lsyncd"
distfiles="https://github.com/axkibe/lsyncd/archive/release-${version}.tar.gz"
next prev parent reply other threads:[~2019-09-17 20:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-17 19:14 [PR PATCH] " voidlinux-github
2019-09-17 20:12 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-17 20:12 ` voidlinux-github
2019-09-17 20:24 ` voidlinux-github [this message]
2019-09-17 20:24 ` voidlinux-github
2019-09-18 7:40 ` [PR PATCH] [Merged]: " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190917202422.m9g5Y1W229jhOhJZJ-CBDPcnXzvhN70sXwJr7NXR-Ug@z \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).