mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Add sleep in restore script before start service
This commit is contained in:
parent
122f6d8db0
commit
8f9e40f596
1 changed files with 5 additions and 0 deletions
|
@ -72,4 +72,9 @@ systemctl reload nginx.service
|
||||||
# Enable service and start seafile
|
# Enable service and start seafile
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
update-rc.d seafile-server defaults
|
update-rc.d seafile-server defaults
|
||||||
|
|
||||||
|
# Avoid the current effect
|
||||||
|
sleep 5
|
||||||
|
|
||||||
|
# Restart service
|
||||||
system_reload seafile-server start
|
system_reload seafile-server start
|
Loading…
Reference in a new issue