#!/bin/sh set -eo pipefail PATH=/opt/seafile/bin:/bin:/usr/bin PYTHON=/opt/seafile/bin/python cd {{ seafile_root_dir }}/seafile-server ./seahub.sh python-env python3 seahub/manage.py clearsessions ./seahub.sh python-env python3 seahub/manage.py clean_db_records