Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] snapcast: add logging
Date: Thu, 30 Jan 2020 06:52:57 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18651@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

There is a new pull request by amak79 against master on the void-packages repository

https://github.com/amak79/void-packages snapcast
https://github.com/void-linux/void-packages/pull/18651

snapcast: add logging
This pull request adds service logging to stop snapclient and snapserver from flooding tty1 with connection and stream messages.

A patch file from https://github.com/void-linux/void-packages/pull/18651.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-snapcast-18651.patch --]
[-- Type: text/x-diff, Size: 2301 bytes --]

From 68837e77f906f60f8f30dee4647683b253645c40 Mon Sep 17 00:00:00 2001
From: amak <amak.git@outlook.com>
Date: Thu, 30 Jan 2020 16:25:40 +1100
Subject: [PATCH] snapcast: add logging

---
 srcpkgs/snapcast/files/snapclient/log/run | 2 ++
 srcpkgs/snapcast/files/snapclient/run     | 2 +-
 srcpkgs/snapcast/files/snapserver/log/run | 2 ++
 srcpkgs/snapcast/files/snapserver/run     | 2 +-
 srcpkgs/snapcast/template                 | 2 +-
 5 files changed, 7 insertions(+), 3 deletions(-)
 create mode 100755 srcpkgs/snapcast/files/snapclient/log/run
 create mode 100755 srcpkgs/snapcast/files/snapserver/log/run

diff --git a/srcpkgs/snapcast/files/snapclient/log/run b/srcpkgs/snapcast/files/snapclient/log/run
new file mode 100755
index 00000000000..67d63360736
--- /dev/null
+++ b/srcpkgs/snapcast/files/snapclient/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -t snapclient
diff --git a/srcpkgs/snapcast/files/snapclient/run b/srcpkgs/snapcast/files/snapclient/run
index adee7091dca..d39016efd43 100644
--- a/srcpkgs/snapcast/files/snapclient/run
+++ b/srcpkgs/snapcast/files/snapclient/run
@@ -1,3 +1,3 @@
 #!/bin/sh
 [ -r conf ] && . ./conf
-exec chpst -u _snapclient:audio snapclient ${OPTS}
+exec chpst -u _snapclient:audio snapclient ${OPTS} 2>&1
diff --git a/srcpkgs/snapcast/files/snapserver/log/run b/srcpkgs/snapcast/files/snapserver/log/run
new file mode 100755
index 00000000000..13577cf7f05
--- /dev/null
+++ b/srcpkgs/snapcast/files/snapserver/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -t snapserver
diff --git a/srcpkgs/snapcast/files/snapserver/run b/srcpkgs/snapcast/files/snapserver/run
index 5aacae0b70d..638817b1539 100644
--- a/srcpkgs/snapcast/files/snapserver/run
+++ b/srcpkgs/snapcast/files/snapserver/run
@@ -1,3 +1,3 @@
 #!/bin/sh
 [ -r conf ] && . ./conf
-exec chpst -u _snapserver snapserver ${OPTS}
+exec chpst -u _snapserver snapserver ${OPTS} 2>&1
diff --git a/srcpkgs/snapcast/template b/srcpkgs/snapcast/template
index c9e8a316a92..c134418ba6d 100644
--- a/srcpkgs/snapcast/template
+++ b/srcpkgs/snapcast/template
@@ -1,7 +1,7 @@
 # Template file for 'snapcast'
 pkgname=snapcast
 version=0.18.1
-revision=1
+revision=2
 build_style=cmake
 configure_args="-DBUILD_WITH_TREMOR=OFF -DBUILD_WITH_AVAHI=$(vopt_if avahi ON OFF)"
 hostmakedepends="pkg-config"

             reply	other threads:[~2020-01-30  5:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-30  5:52 voidlinux-github [this message]
2020-01-30  5:59 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-30  8:27 ` [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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18651@inbox.vuxu.org \
    --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).