From beb834bc30620ea342d3a0bc612a433ea399d0b3 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 2 Sep 2021 19:28:03 +0900 Subject: [PATCH] Update syslog.conf and upgrade/restart scripts for new keybase channels --- production/mempool-restart-all | 2 +- production/mempool-upgrade-all | 2 +- production/syslog.conf | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/production/mempool-restart-all b/production/mempool-restart-all index e1867a77a..13e551066 100755 --- a/production/mempool-restart-all +++ b/production/mempool-restart-all @@ -2,7 +2,7 @@ HOSTNAME=$(hostname) echo restarting mempool backends | wall -echo "${HOSTNAME} restarted mempool backends" | /usr/local/bin/keybase chat send --nonblock --channel general mempool.devops +echo "${HOSTNAME} restarted mempool backends" | /usr/local/bin/keybase chat send --nonblock --channel general mempool.ops ps uaxw|grep 'dist/index'|grep -v grep|grep -v services|awk '{print $2}'|xargs -n 1 kill exit 0 diff --git a/production/mempool-upgrade-all b/production/mempool-upgrade-all index 41b7d7e9d..09bd94e05 100755 --- a/production/mempool-upgrade-all +++ b/production/mempool-upgrade-all @@ -70,6 +70,6 @@ for target in mainnet liquid bisq;do build_frontend "${target}";done for target in mainnet liquid bisq;do ship_frontend "${target}";done echo "${HOSTNAME} updated to \`${REF}\` @ \`${HASH}\`" | /usr/local/bin/keybase chat send --nonblock --channel general mempool.dev -echo "${HOSTNAME} updated to \`${REF}\` @ \`${HASH}\`" | /usr/local/bin/keybase chat send --nonblock --channel general mempool.devops +echo "${HOSTNAME} updated to \`${REF}\` @ \`${HASH}\`" | /usr/local/bin/keybase chat send --nonblock --channel general mempool.ops exit 0 diff --git a/production/syslog.conf b/production/syslog.conf index 025ace359..9a2a382fe 100644 --- a/production/syslog.conf +++ b/production/syslog.conf @@ -1,4 +1,4 @@ -local7.>=notice |/usr/local/bin/sudo -u mempool /usr/local/bin/mempool-logger mempool.devops general -local7.info |/usr/local/bin/sudo -u mempool /usr/local/bin/mempool-logger mempool.devops node100 +local7.>=notice |/usr/local/bin/sudo -u mempool /usr/local/bin/mempool-logger mempool.ops alerts +local7.info |/usr/local/bin/sudo -u mempool /usr/local/bin/mempool-logger mempool.ops node100 local7.info /var/log/mempool local7.* /var/log/mempool.debug