[TASK] add init system.unit
This commit is contained in:
		
							parent
							
								
									3e342ce738
								
							
						
					
					
						commit
						78adbeca62
					
				
							
								
								
									
										12
									
								
								init/linux-systemd/respond-collector.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								init/linux-systemd/respond-collector.service
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					[Unit]
 | 
				
			||||||
 | 
					Description=respond-collector
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Service]
 | 
				
			||||||
 | 
					Type=simple
 | 
				
			||||||
 | 
					User=respond-collector
 | 
				
			||||||
 | 
					ExecStart=/opt/go/bin/respond-collector -config /etc/respond-collector.conf
 | 
				
			||||||
 | 
					Restart=always
 | 
				
			||||||
 | 
					Environment=PATH=/usr/bin:/usr/local/bin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Install]
 | 
				
			||||||
 | 
					WantedBy=multi-user.target
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user