From 8f9e40f596ac07562f3d88c71b52a70e877e4762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sat, 16 Jun 2018 13:56:22 +0200 Subject: [PATCH] Add sleep in restore script before start service --- scripts/restore | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/restore b/scripts/restore index 6a770e4..de8c7c9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -72,4 +72,9 @@ systemctl reload nginx.service # Enable service and start seafile systemctl daemon-reload update-rc.d seafile-server defaults + +# Avoid the current effect +sleep 5 + +# Restart service system_reload seafile-server start \ No newline at end of file