This commit is contained in:
@@ -36,6 +36,9 @@ func (w wireguard) Apply(templateFilePath, configFilePath string, data any) (err
|
||||
switch config.Config.Wireguard.ListenConfig {
|
||||
case "auto":
|
||||
w.watchListConfig(configFilePath)
|
||||
case "hand": // 手动操作
|
||||
command.RestartWireguard(true)
|
||||
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user