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 package settings
type Logrotate struct { type Logrotate struct {
Enabled bool `json:"enabled"` Enabled bool `json:"enabled"`
CMD string `json:"cmd" protect:"true"` CMD string `json:"cmd" protected:"true"`
Interval int `json:"interval"` Interval int `json:"interval"`
} }
var LogrotateSettings = Logrotate{ var LogrotateSettings = Logrotate{
Enabled: false, Enabled: false,
CMD: "logrotate /etc/logrotate.d/nginx", CMD: "logrotate /etc/logrotate.d/nginx",
Interval: 1440, // 24 hours Interval: 1440, // 24 hours
} }