|
|
|
@ -132,8 +132,6 @@ type Repo struct { |
|
|
|
|
RsyncLogFile string `ini:"-"` |
|
|
|
|
// full file path for file logging this repo's zfssync
|
|
|
|
|
ZfssyncLogFile string `ini:"-"` |
|
|
|
|
// determines if report_mirror should be run after the sync (default: false)
|
|
|
|
|
ReportMirror bool `ini:"report_mirror"` |
|
|
|
|
// add the "-vv" flag to rsync commands and enable the Debug log (default: false)
|
|
|
|
|
Verbose bool `ini:"verbose"` |
|
|
|
|
// the repo will write its name and status in a Result struct to DoneChan
|
|
|
|
@ -234,7 +232,6 @@ func LoadConfig(configPath string, doneChan chan SyncResult, stopChan chan struc |
|
|
|
|
RepoLogFile: filepath.Join(newConf.RepoLogDir, repoName) + ".log", |
|
|
|
|
RsyncLogFile: filepath.Join(newConf.RsyncLogDir, repoName) + "-rsync.log", |
|
|
|
|
ZfssyncLogFile: filepath.Join(newConf.ZfssyncLogDir, repoName) + "-zfssync.log", |
|
|
|
|
ReportMirror: false, |
|
|
|
|
Verbose: false, |
|
|
|
|
DoneChan: doneChan, |
|
|
|
|
StopChan: stopChan, |
|
|
|
|