mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 02:35:07 +01:00 
			
		
		
		
	Add init script and unit file for systemd
This commit is contained in:
		
							
								
								
									
										20
									
								
								scripts/cc-metric-collector.config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								scripts/cc-metric-collector.config
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
CC_USER=clustercockpit
 | 
			
		||||
 | 
			
		||||
CC_GROUP=clustercockpit
 | 
			
		||||
 | 
			
		||||
CC_HOME=/tmp
 | 
			
		||||
 | 
			
		||||
LOG_DIR=/var/log
 | 
			
		||||
 | 
			
		||||
DATA_DIR=/var/lib/grafana
 | 
			
		||||
 | 
			
		||||
MAX_OPEN_FILES=10000
 | 
			
		||||
 | 
			
		||||
CONF_DIR=/etc/cc-metric-collector
 | 
			
		||||
 | 
			
		||||
CONF_FILE=/etc/cc-metric-collector/cc-metric-collector.json
 | 
			
		||||
 | 
			
		||||
RESTART_ON_UPGRADE=true
 | 
			
		||||
 | 
			
		||||
# Only used on systemd systems
 | 
			
		||||
PID_FILE_DIR=/var/run
 | 
			
		||||
		Reference in New Issue
	
	Block a user