mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-11-04 10:01:05 +01:00 
			
		
		
		
	Clarified systemd friendly path
Suggested-by: Rendezvous
This commit is contained in:
		
							parent
							
								
									bc63c577a9
								
							
						
					
					
						commit
						be2487f4c0
					
				@ -150,7 +150,7 @@ or run all headscale commands as the headscale user:
 | 
				
			|||||||
su - headscale
 | 
					su - headscale
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2. In `/etc/headscale/config.yaml`, override the default `headscale` unix socket with a SystemD friendly path:
 | 
					2. In `/etc/headscale/config.yaml`, override the default `headscale` unix socket with path that is writable by the `headscale` user or group:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
unix_socket: /var/run/headscale/headscale.sock
 | 
					unix_socket: /var/run/headscale/headscale.sock
 | 
				
			||||||
@ -165,8 +165,7 @@ systemctl daemon-reload
 | 
				
			|||||||
4. Enable and start the new `headscale` service:
 | 
					4. Enable and start the new `headscale` service:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```shell
 | 
					```shell
 | 
				
			||||||
systemctl enable headscale
 | 
					systemctl enable --now headscale
 | 
				
			||||||
systemctl start headscale
 | 
					 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
5. Verify the headscale service:
 | 
					5. Verify the headscale service:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user