mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 06:34:40 +00:00
fix seaf-import
This commit is contained in:
@@ -48,7 +48,6 @@ function check_component_running() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
<<'COMMENT'
|
|
||||||
function validate_already_running () {
|
function validate_already_running () {
|
||||||
if pid=$(pgrep -f "seafile-monitor.sh" 2>/dev/null); then
|
if pid=$(pgrep -f "seafile-monitor.sh" 2>/dev/null); then
|
||||||
echo "seafile server is still running, stop it by \"seafile.sh stop\""
|
echo "seafile server is still running, stop it by \"seafile.sh stop\""
|
||||||
@@ -59,7 +58,6 @@ function validate_already_running () {
|
|||||||
check_component_running "seaf-server" "seaf-server"
|
check_component_running "seaf-server" "seaf-server"
|
||||||
check_component_running "seafdav" "wsgidav.server.server_cli"
|
check_component_running "seafdav" "wsgidav.server.server_cli"
|
||||||
}
|
}
|
||||||
COMMENT
|
|
||||||
|
|
||||||
function run_seaf_import () {
|
function run_seaf_import () {
|
||||||
validate_seafile_data_dir;
|
validate_seafile_data_dir;
|
||||||
|
Reference in New Issue
Block a user