You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nginx-ui/settings/logrotate.go

14 lines
290 B
Go

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