Merge pull request #2 from systemcrash/Interface_PostDown_optional
Make Interface PostDown setting optional in wg.conf template.
This commit is contained in:
		
						commit
						d5558fcf58
					
				|  | @ -9,7 +9,7 @@ ListenPort = {{ .serverConfig.Interface.ListenPort }} | ||||||
| PrivateKey = {{ .serverConfig.KeyPair.PrivateKey }} | PrivateKey = {{ .serverConfig.KeyPair.PrivateKey }} | ||||||
| {{if .globalSettings.MTU}}MTU = {{ .globalSettings.MTU }}{{end}} | {{if .globalSettings.MTU}}MTU = {{ .globalSettings.MTU }}{{end}} | ||||||
| {{if .serverConfig.Interface.PostUp }}PostUp = {{ .serverConfig.Interface.PostUp }}{{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 }} | Table = {{ .globalSettings.Table }} | ||||||
| 
 | 
 | ||||||
| {{range .clientDataList}}{{if eq .Client.Enabled true}} | {{range .clientDataList}}{{if eq .Client.Enabled true}} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue