20 lines
681 B
Diff
20 lines
681 B
Diff
--- seafile-3.1.12/scripts/seafile.sh.orig 2015-01-01 22:17:54.549863094 +0100
|
|
+++ seafile-3.1.12/scripts/seafile.sh 2015-01-01 22:18:16.363850459 +0100
|
|
@@ -98,14 +98,14 @@
|
|
validate_already_running;
|
|
validate_ccnet_conf_dir;
|
|
read_seafile_data_dir;
|
|
+
|
|
+ sleep 3
|
|
test_config;
|
|
|
|
echo "Starting seafile server, please wait ..."
|
|
|
|
LD_LIBRARY_PATH=$SEAFILE_LD_LIBRARY_PATH ${seaf_controller} -c "${default_ccnet_conf_dir}" -d "${seafile_data_dir}"
|
|
|
|
- sleep 3
|
|
-
|
|
# check if seafile server started successfully
|
|
if ! pgrep -f "seafile-controller -c ${default_ccnet_conf_dir}" 2>/dev/null 1>&2; then
|
|
echo "Failed to start seafile server"
|