packages/net/seafile-server/files/create-seafile-admin.sh
2020-04-01 02:29:11 +08:00

11 lines
173 B
Bash

#!/bin/sh
TOPDIR=/usr/share/seafile
INSTALLPATH=$TOPDIR/seafile-server
seafile start || exit 1
seahub python-env python3 "$INSTALLPATH/check_init_admin.py"
seafile stop