Add sleep in restore script before start service

This commit is contained in:
Josué Tille 2018-06-16 13:56:22 +02:00
parent 122f6d8db0
commit 8f9e40f596

View file

@ -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