mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-06 16:46:54 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
10
roles/seafile/templates/clean_db.sh.j2
Normal file
10
roles/seafile/templates/clean_db.sh.j2
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
PATH=/opt/seafile/bin:/bin:/usr/bin
|
||||
PYTHONPATH=/opt/seafile/lib64/python3.6/site-packages/
|
||||
PYTHON=/opt/seafile/bin/python
|
||||
cd {{ seafile_root_dir }}/seafile-server
|
||||
./seahub.sh python-env python3 seahub/manage.py clearsessions
|
||||
|
Reference in New Issue
Block a user