mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
10 lines
264 B
Django/Jinja
10 lines
264 B
Django/Jinja
#!/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
|