[Service]
{
   # memory limit to catch any memory leak before it kills the system
   use constant MIN_MEMORY_LIMIT => 35000000;

   # If there is a memory limit in the database and it is below the minimum, delete it.
   if (defined $ntpd{MemLimit} && $ntpd{MemLimit} < MIN_MEMORY_LIMIT)
   {
      $DB->get_prop_and_delete('ntpd','MemLimit');
      delete $ntpd{MemLimit};
   }

    $OUT .= "MemoryLimit=";
    $OUT .= $ntpd{MemLimit} || MIN_MEMORY_LIMIT;
    $OUT .= "\n";

}
ExecStartPre=-/sbin/e-smith/expand-template /etc/ntp.conf
ExecStartPre=-/sbin/e-smith/systemd/initializedate
Restart=always
