Try to avoid current effect

This commit is contained in:
Josué Tille 2019-08-05 17:07:17 +02:00
parent e99c1afea2
commit 4bc8a7c7f5
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -163,6 +163,10 @@ chmod +x $final_path/first_launch.exp
chown -R $seafile_user:$seafile_user $final_path
chown -R $seafile_user:$seafile_user $seafile_data
# Sometime we have a current effect. We try to lunch seafile when not all permissions are already set.
# So wait untils all permissions are cleanly set
sleep 5
# Start seafile, seahub and populate admin account
su - $seafile_user -s /bin/bash -c "$final_path/seafile-server-$seafile_version/seafile.sh start"
# We escape all char witch needed.