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 <itugrok@yahoo.com>
This commit is contained in:
parent
aa2e7cdc3c
commit
aac5a6f843
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue