mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Try to avoid current effect
This commit is contained in:
parent
e99c1afea2
commit
4bc8a7c7f5
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue