File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ install_crontab() {
131
131
crontab -l # Get existing crontabs
132
132
echo " 17 2 * * * $INSTALLATION_DIR /current/config/dqmgui/daily"
133
133
echo " @reboot $INSTALLATION_DIR /current/config/dqmgui/manage sysboot"
134
- echo " 0 3 * * * logrotate $INSTALLATION_DIR /$DMWM_GIT_TAG /sw/cms/dqmgui/$DQMGUI_GIT_TAG /128/etc/logrotate.conf"
134
+ echo " 0 3 * * * logrotate $INSTALLATION_DIR /$DMWM_GIT_TAG /sw/cms/dqmgui/$DQMGUI_GIT_TAG /128/etc/logrotate.conf --state $INSTALLATION_DIR /state/logrotate.state "
135
135
) | crontab -
136
136
}
137
137
@@ -291,7 +291,7 @@ _create_logrotate_conf() {
291
291
echo " # DQMGUI logrotate configuration file
292
292
# Automagically generated, please do not edit.
293
293
294
- $INSTALLATION_DIR /state /dqmgui/*/logs /*.log {
294
+ $INSTALLATION_DIR /logs /dqmgui/*/*.log {
295
295
compress
296
296
rotate -1
297
297
daily
You can’t perform that action at this time.
0 commit comments