From aac5a6f843d6167eda262661bb17ca594f131213 Mon Sep 17 00:00:00 2001 From: guidosarducci Date: Sun, 25 Nov 2018 06:15:27 -0800 Subject: [PATCH] siproxd: capture debug output in syslog Although siproxd normally logs to syslog, it's debug output appears to go only to stderr. Adjust procd setup to also capture stderr in syslog. Signed-off-by: Tony Ambardar --- net/siproxd/Makefile | 2 +- net/siproxd/files/siproxd.init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/siproxd/Makefile b/net/siproxd/Makefile index 39dde99..68a4b7e 100644 --- a/net/siproxd/Makefile +++ b/net/siproxd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=siproxd PKG_VERSION:=0.8.2 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/siproxd diff --git a/net/siproxd/files/siproxd.init b/net/siproxd/files/siproxd.init index a8b86f7..7d5b003 100644 --- a/net/siproxd/files/siproxd.init +++ b/net/siproxd/files/siproxd.init @@ -110,6 +110,7 @@ section_end() { procd_set_param command "$PROG" --config "$conf_file" procd_set_param pidfile "$pid_file" procd_set_param respawn + procd_set_param stderr 1 procd_add_jail siproxd log procd_add_jail_mount /etc/passwd /etc/group /etc/TZ /dev/null procd_add_jail_mount "$conf_file" -- 2.30.2