소스 검색

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…
취소
저장