mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
13 lines
293 B
Go
13 lines
293 B
Go
package settings
|
|
|
|
type Logrotate struct {
|
|
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
|
|
}
|