2021-12-01 19:13:34 +01:00
|
|
|
#!/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
|
2023-10-13 15:00:23 +02:00
|
|
|
./seahub.sh python-env python3 seahub/manage.py clean_db_records
|