Commit d6842cc2 authored by Fabien Viale's avatar Fabien Viale
Browse files

install script : fix job planner housekeeping configuration

parent 680ade03
......@@ -484,7 +484,7 @@ if [[ "$OLD_PADIR" == "" ]]; then
sed "s/pa\.scheduler\.job\.removeFromDataBase=.*/pa.scheduler.job.removeFromDataBase=true/g" -i "$PA_ROOT/default/config/scheduler/settings.ini"
sed "s/^#pa\.rm\.history\.maxperiod=.*/pa.rm.history.maxperiod=$JOB_CLEANUP_SECONDS/g" -i "$PA_ROOT/default/config/rm/settings.ini"
sed "s/^notifications\.housekeeping\.removedelay=.*/notifications.housekeeping.removedelay=$JOB_CLEANUP_SECONDS/g" -i "$PA_ROOT/default/dist/war/notification-service/WEB-INF/classes/application.properties"
sed "s/^pa\.job\.execution\.history\.maxperiod=.*/pa.job.execution.history.maxperiod=$JOB_CLEANUP_SECONDS/g" -i "$PA_ROOT/default/dist/war/job-planner/WEB-INF/classes/application.properties"
sed "s/^#pa\.job\.execution\.history\.maxperiod=.*/pa.job.execution.history.maxperiod=$JOB_CLEANUP_SECONDS/g" -i "$PA_ROOT/default/dist/war/job-planner/WEB-INF/classes/application.properties"
# Cleanup extra log files older than the given period
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment