Merge pull request #1 from systemcrash/Interface_PostUp_optional
Make Interface PostUp setting optional in wg.conf template.
This commit is contained in:
		
						commit
						84d44d13a4
					
				|  | @ -8,7 +8,7 @@ Address = {{$first :=true}}{{range .serverConfig.Interface.Addresses }}{{if $fir | |||
| ListenPort = {{ .serverConfig.Interface.ListenPort }} | ||||
| PrivateKey = {{ .serverConfig.KeyPair.PrivateKey }} | ||||
| {{if .globalSettings.MTU}}MTU = {{ .globalSettings.MTU }}{{end}} | ||||
| PostUp = {{ .serverConfig.Interface.PostUp }} | ||||
| {{if .serverConfig.Interface.PostUp }}PostUp = {{ .serverConfig.Interface.PostUp }}{{end}} | ||||
| PostDown = {{ .serverConfig.Interface.PostDown }} | ||||
| Table = {{ .globalSettings.Table }} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue