Both boolean values are accepted for 'autostart' in template

In the template, there was an incorrect check for 'autostart'
parameter. Since it was boolean, 'false' value could never
be inserted in the configuration. This commit fixes it by
checking against :undef.
I think this should be  `$stderr_logfile_path = $stdout_logfile`