2023.01.04 增加fms-notificatiion的systemd服务定义。
This commit is contained in:
		
							
								
								
									
										17
									
								
								service/fms-notification.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								service/fms-notification.service
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | |||||||
|  | [Unit] | ||||||
|  | Description=fms-notification | ||||||
|  | After=multi-user.target | ||||||
|  |  | ||||||
|  | [Service] | ||||||
|  | Environment="TZ=Asia/Shanghai" | ||||||
|  | Environment="JAVA_HOME=/usr/local/jdk1.8.0" | ||||||
|  | Environment="APP_NAME=wtest" | ||||||
|  | Environment="SERVICE_NAME=notification" | ||||||
|  | Environment="POD_NAME=notification" | ||||||
|  | User=ubuntu | ||||||
|  | WorkingDirectory=/opt/cap/fms-notification | ||||||
|  | ExecStart=/opt/cap/fms-notification/fms-notification | ||||||
|  | SuccessExitStatus=143 | ||||||
|  |  | ||||||
|  | [Install] | ||||||
|  | WantedBy=graphical.target | ||||||
		Reference in New Issue
	
	Block a user