interpolation for task values

master
phanes 2024-02-07 00:55:41 -05:00
parent 5f8ec22166
commit 35248176cb
1 changed files with 11 additions and 0 deletions

View File

@ -356,6 +356,17 @@ void Task::execute( Conf * configuration )
this->slog.log_task( E_DEBUG, task_name, "Using unit definition: \"" + task_name + "\"." );
interpolate(task_name);
interpolate(command);
interpolate(shell_name);
interpolate(user);
interpolate(group);
interpolate(environment_file);
interpolate(new_working_dir);
interpolate(rectifier);
interpolate(logs_root);
// sanitize all path inputs from unit definition to be either absolute paths or relative to
// project_root