Return the persistent config key for a legacy 3.0 persistent config (single database per bucket model)
(ctx context.Context, groupID string)
| 2302 | |
| 2303 | // Return the persistent config key for a legacy 3.0 persistent config (single database per bucket model) |
| 2304 | func PersistentConfigKey30(ctx context.Context, groupID string) string { |
| 2305 | if groupID == "" { |
| 2306 | base.WarnfCtx(ctx, "Empty group ID specified for PersistentConfigKey - using %v", PersistentConfigDefaultGroupID) |
| 2307 | groupID = PersistentConfigDefaultGroupID |
| 2308 | } |
| 2309 | return base.PersistentConfigPrefixWithoutGroupID + groupID |
| 2310 | } |
| 2311 | |
| 2312 | func HandleSighup(ctx context.Context) { |
| 2313 | base.RotateLogfiles(ctx) |