mirror of
https://gh.llkk.cc/https://github.com/WeblateOrg/scripts.git
synced 2025-10-03 15:01:00 +08:00
migrate: Install docker
This commit is contained in:
parent
5d0e22a495
commit
90c4d8c2c9
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ USERNAME=weblate
|
|||
WEBLATE_HOME=$(getent passwd "$USERNAME" | cut -d: -f 6)
|
||||
WEBLATE_ENV="$WEBLATE_HOME/weblate-env"
|
||||
|
||||
# Install docker
|
||||
install-docker
|
||||
|
||||
# Stop services, wait for empty queue
|
||||
systemctl stop uwsgi
|
||||
while sudo -u "$WEBLATE_USERNAME" "$WEBLATE_ENV/bin/weblate" celery_queues | grep ': [^0]' ; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue