Backport PR #5805: fix engine startup files

engine startup_file and startup_command are ignored in 2.0

closes #5801