mirror of
https://gh.llkk.cc/https://github.com/WeblateOrg/scripts.git
synced 2025-10-03 15:01:00 +08:00
feat: add graylog sidecar installation
This commit is contained in:
parent
7d652d031e
commit
1a04a4e197
4 changed files with 34 additions and 0 deletions
|
@ -21,6 +21,12 @@ else
|
|||
echo "Sentry Token:"
|
||||
read -r sentry_token
|
||||
fi
|
||||
if [ -f ~/.config/weblate-bootstrap/graylog_token ] ; then
|
||||
graylog_token=$(cat ~/.config/weblate-bootstrap/graylog_token)
|
||||
else
|
||||
echo "Graylog Token:"
|
||||
read -r graylog_token
|
||||
fi
|
||||
|
||||
smtp_pass=$(openssl rand -hex 32)
|
||||
|
||||
|
@ -31,6 +37,7 @@ WEBLATE_TITLE="$title"
|
|||
WEBLATE_SECRET=$(openssl rand -hex 32)
|
||||
WEBLATE_SENTRY="$sentry"
|
||||
WEBLATE_SENTRY_TOKEN="$sentry_token"
|
||||
WEBLATE_GRAYLOG_TOKEN="$graylog_token"
|
||||
WEBLATE_VERSION="$2"
|
||||
|
||||
# Exim
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue