Browse Source

Merge startgogs scripts

DricomDragon 4 years ago
parent
commit
21f3064003
2 changed files with 3 additions and 7 deletions
  1. 0 7
      Install/Templates/startgogs
  2. 3 0
      Server/Scripts/Cron/startgogs

+ 0 - 7
Install/Templates/startgogs

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

+ 3 - 0
Server/Scripts/Cron/startgogs

@@ -5,4 +5,7 @@
 ## $ crontab -e
 ## @reboot /home/gituser/startgogs
 
+## Wait for PostgreSQL
+sleep 30
+
 /home/gituser/gogs/gogs web > /dev/null 2>&1 &