2023.04.17 增加cmc环境下启动、停止相关脚本。
This commit is contained in:
		
							
								
								
									
										9
									
								
								cmc/fms-notification/startup.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								cmc/fms-notification/startup.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| #!/bin/bash | ||||
| export ENV_CLUSTER=cmc | ||||
| export APP_NAME=fms | ||||
| export SERVICE_NAME=notification | ||||
| export POD_NAME=linux | ||||
| cd /opt/cap/fms-notification | ||||
| nohup /opt/cap/fms-notification/fms-notification > nohup.log 2>&1 & | ||||
| echo $! > notification.pid | ||||
|  | ||||
							
								
								
									
										3
									
								
								cmc/fms-notification/stop.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								cmc/fms-notification/stop.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| #!/bin/bash | ||||
| cd /opt/cap/fms-notification | ||||
| kill -9 `cat notification.pid` && rm notification.pid | ||||
		Reference in New Issue
	
	Block a user