| 
									
										
										
										
											2017-04-19 09:54:15 -07:00
										 |  |  | # Systemd Unit
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | If you are using distribution packages or the copr repository, you don't need to deal with these files! | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-23 03:45:29 -07:00
										 |  |  | The unit files (`*.service` and `*.socket`) in this directory are to be put into `/etc/systemd/system`. | 
					
						
							| 
									
										
										
										
											2017-04-19 09:54:15 -07:00
										 |  |  | It needs a user named `node_exporter`, whose shell should be `/sbin/nologin` and should not have any special privileges. | 
					
						
							|  |  |  | It needs a sysconfig file in `/etc/sysconfig/node_exporter`. | 
					
						
							| 
									
										
										
										
											2020-04-06 06:32:02 -07:00
										 |  |  | It needs a directory named `/var/lib/node_exporter/textfile_collector`, whose owner should be `node_exporter`:`node_exporter`. | 
					
						
							| 
									
										
										
										
											2017-04-19 09:54:15 -07:00
										 |  |  | A sample file can be found in `sysconfig.node_exporter`. |