anchor.diff:            ${optionalString (job.console != "") "console ${job.console}"}
   
             pre-start script
  -            ${optionalString (job.console == "") ''
  -              exec >> ${log} 2>&1
  -            ''}
  +            ${optionalString (job.console != "") "echo || "} exec >> ${log} 2>&1
               ln -sfn "$(readlink -f "/etc/init/${job.name}.conf")" /var/run/upstart-jobs/${job.name}
               ${optionalString (job.preStart != "") ''
                 source ${jobHelpers}
  
positive.code: 
            ${optionalString (job.postStop != "") ''
              post-stop script
                ${optionalString (job.console == "") ''
                  exec >> ${log} 2>&1
                ''}
                source ${jobHelpers}
                ${job.postStop}
              end script
  
negative.code: 
            ${optionalString (job.postStart != "") ''
              post-start script
                ${optionalString (job.console != "") "echo || "} exec >> ${log} 2>&1
                source ${jobHelpers}
                ${job.postStart}
              end script
  