Make Interface PostDown setting optional in wg.conf template.
This commit is contained in:
		
							parent
							
								
									84d44d13a4
								
							
						
					
					
						commit
						c1de34116f
					
				|  | @ -9,7 +9,7 @@ ListenPort = {{ .serverConfig.Interface.ListenPort }} | |||
| PrivateKey = {{ .serverConfig.KeyPair.PrivateKey }} | ||||
| {{if .globalSettings.MTU}}MTU = {{ .globalSettings.MTU }}{{end}} | ||||
| {{if .serverConfig.Interface.PostUp }}PostUp = {{ .serverConfig.Interface.PostUp }}{{end}} | ||||
| PostDown = {{ .serverConfig.Interface.PostDown }} | ||||
| {{if .serverConfig.Interface.PostDown }}PostDown = {{ .serverConfig.Interface.PostDown }}{{end}} | ||||
| Table = {{ .globalSettings.Table }} | ||||
| 
 | ||||
| {{range .clientDataList}}{{if eq .Client.Enabled true}} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue