update for gogs
This commit is contained in:
		
							parent
							
								
									728dcb521e
								
							
						
					
					
						commit
						72dfa2f12a
					
				| @ -1,8 +1,8 @@ | ||||
| echo 'Starting gogs git service in screen...' | ||||
| #screen -dmS gogs | ||||
| #screen -S gogs -X stuff "/faronear/gogs/gogs web\n" | ||||
| cd /faronear/git | ||||
| sudo pm2 start -x './gogs/gogs' -n git.gogs -- web # sudo it so that pm2 list shows it as root | ||||
| cd /faronear/git/gogs # 如果在 /faronear/git 中运行 ./gogs/gogs,导致额外生成 /faronear/git/data 目录。 | ||||
| sudo pm2 start -x './gogs' -n git.gogs -- web # sudo it so that pm2 list shows it as root | ||||
| cd /faronear | ||||
| 
 | ||||
| echo 'Starting http2https web service in pm2...' | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user