mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Add ExecReload for SIGHUP
This commit is contained in:
		
							parent
							
								
									1192ceaf68
								
							
						
					
					
						commit
						24cf4b9d2b
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -14,6 +14,7 @@ ExecStartPre=/bin/sh -ec "if ! test -s /etc/yggdrasil.conf; \
 | 
				
			||||||
                echo 'WARNING: A new /etc/yggdrasil.conf file has been generated.'; \
 | 
					                echo 'WARNING: A new /etc/yggdrasil.conf file has been generated.'; \
 | 
				
			||||||
            fi"
 | 
					            fi"
 | 
				
			||||||
ExecStart=/usr/bin/yggdrasil -useconffile /etc/yggdrasil.conf
 | 
					ExecStart=/usr/bin/yggdrasil -useconffile /etc/yggdrasil.conf
 | 
				
			||||||
 | 
					ExecReload=/bin/kill -HUP $MAINPID
 | 
				
			||||||
Restart=always
 | 
					Restart=always
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Install]
 | 
					[Install]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue