Explorar o código

add auto start script

how to use:
vim /etc/rc.local, then add
cd /home/git/gogs; scripts/autoboot.sh
(goes path you can replace your path)
jacksonpan %!s(int64=9) %!d(string=hai) anos
pai
achega
9e4c2afad7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      scripts/autoboot.sh

+ 2 - 0
scripts/autoboot.sh

@@ -0,0 +1,2 @@
+#!/bin/sh
+su git -c "/home/git/gogs/scripts/gogs_supervisord.sh restart"