home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 136,994 of 138,051   
   Carlos E.R. to Uwe Bonnes   
   Re: mlocate and systemd timer   
   30 Jun 20 14:50:48   
   
   From: robin_listas@es.invalid   
      
   On 30/06/2020 13.00, Uwe Bonnes wrote:   
   > Uwe Bonnes  wrote:   
   >> Hello,   
   >>   
   >> since some time, updatedb is no longer started by cron but but a   
   >> system timer.  I removed and reinstalled mlocate, but  "systemctl   
   >> list-timers --all" does not list the mlocate timer.   
   >>   
   >> Is the installer wrong? What is needed to install the timer?   
   >>   
   > With   
   >   cd /etc/systemd/system/timers.target.wants   
   >   ln -sf /usr/lib/systemd/system/mlocate.timer .   
   >   systemctl enable mlocate.timer   
   >   
   > at least systemctl  list-timers  -all lists the timer.   
   >   
   > How to activate?   
   >   
      
   I think all you needed was:   
      
   systemctl enable --now mlocate.timer   
      
      
   At this moment, you may need   
      
   systemctl start mlocate.timer   
      
      
   --   
   Cheers, Carlos.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca