anchor.diff:  
         PidFile = ${pidFile}
   
  -      DBHost = ${cfg.dbServer}
  +      ${optionalString (cfg.dbServer != "localhost") ''
  +        DBHost = ${cfg.dbServer}
  +      ''}
   
         DBName = zabbix
   
  
positive.code:             fi
            '';
  
          # Zabbix doesn't have an option not to daemonize, and doesn't
          # daemonize in a way that allows Upstart to track it.  So to
          # make sure that we notice when it goes down, we start Zabbix
  
negative.code:         # just monitor `cat'.
          script =
            ''
              rm -f ${stateDir}/dummy
              mkfifo ${stateDir}/dummy
              cat ${stateDir}/dummy &
  