u
This commit is contained in:
		
							parent
							
								
									5b373f11c3
								
							
						
					
					
						commit
						988e1f64ac
					
				| @ -1,8 +1,8 @@ | |||||||
| echo 'Starting yapi...' | echo 'Starting yapi...' | ||||||
| sudo pm2 start "/root/yapi/vendors/server/app.js" --name yapi # sudo it so that pm2 list shows it as root | sudo pm2 start "/faronear/fon/yapi/vendors/server/app.js" --name yapi # sudo it so that pm2 list shows it as root | ||||||
| 
 | 
 | ||||||
| echo 'Starting http2https web service...' | echo 'Starting http2https web service...' | ||||||
| cd /root/yapi.faronear.org | cd /faronear/fon/yapi.faronear.org | ||||||
| sudo pm2 start server.js --name yapi.https2http # sudo it so that pm2 list shows it as root | sudo pm2 start server.js --name yapi.https2http # sudo it so that pm2 list shows it as root | ||||||
| cd .. | cd .. | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -13,6 +13,6 @@ expect { | |||||||
|   "Password:" |   "Password:" | ||||||
|   {send "[lindex $argv 3]\n"} |   {send "[lindex $argv 3]\n"} | ||||||
|   "密码:" |   "密码:" | ||||||
|   {send "[lindex $argv 3]\n"} |   {send "[lindex $argv 3]\ncd /faronear\nll"} | ||||||
| } | } | ||||||
| interact | interact | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user