fix: typo error

This commit is contained in:
Jacky 2024-10-05 20:02:15 +08:00
parent 5f3aa5bffa
commit b64f71e13a
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D

View file

@ -1,13 +1,13 @@
package settings
type Logrotate struct {
Enabled bool `json:"enabled"`
CMD string `json:"cmd" protect:"true"`
Interval int `json:"interval"`
Enabled bool `json:"enabled"`
CMD string `json:"cmd" protected:"true"`
Interval int `json:"interval"`
}
var LogrotateSettings = Logrotate{
Enabled: false,
CMD: "logrotate /etc/logrotate.d/nginx",
Interval: 1440, // 24 hours
Enabled: false,
CMD: "logrotate /etc/logrotate.d/nginx",
Interval: 1440, // 24 hours
}