fix: typo error

This commit is contained in:
Jacky
2024-10-05 20:02:15 +08:00
parent 5f3aa5bffa
commit b64f71e13a

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
}