Browse Source

Sleep for 30 sec added to wait for PostgreSQL

DricomDragon 5 years ago
parent
commit
f74330f33b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Install/Templates/startgogs

+ 4 - 0
Install/Templates/startgogs

@@ -1,3 +1,7 @@
 #!/usr/bin/fish
 
+## Wait for PostgreSQL
+sleep 30
+
+## Start gogs web app
 /home/gituser/gogs/gogs web > /dev/null 2>&1 &