mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
acme.sh error output never made it to the syslog, so: * Add procd setup to catch stderr * Make sure a message goes to syslog if acme.sh dies due to SIGINT Signed-off-by: Aditya Bhargava <rightaditya@gmail.com>
8 lines
132 B
Bash
8 lines
132 B
Bash
log() {
|
|
prio="$1"
|
|
shift
|
|
if [ "$prio" != debug ] || [ "$debug" = 1 ]; then
|
|
logger -t "$LOG_TAG" -p "daemon.$prio" -- "$@"
|
|
fi
|
|
}
|