瀏覽代碼

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)
tags/v0.9.99
jacksonpan 9 年之前
父節點
當前提交
9e4c2afad7
共有 1 個文件被更改,包括 2 次插入0 次删除
  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"

Loading…
取消
儲存