OK, Thank.

It was inactive, Then I restart it and now:
● mlocate-updatedb.service - Update a database for mlocate
   Loaded: loaded (/usr/lib/systemd/system/mlocate-updatedb.service; static; 
vendor preset: disable
   Active: active (running) since Mon 2016-09-19 23:15:03 CEST; 1min 17s ago
 Main PID: 1357 (mlocate-run-upd)
    Tasks: 2 (limit: 512)
   CGroup: /system.slice/mlocate-updatedb.service
           ├─1357 /bin/sh /usr/libexec/mlocate-run-updatedb
           └─1377 /usr/bin/updatedb -f sysfs ramfs bdev proc cpuset cgroup 
cgroup2 tmpfs devtmpfs c

Sep 19 23:15:02 teucidide systemd[1]: Stopped Update a database for mlocate.
Sep 19 23:15:03 teucidide systemd[1]: Started Update a database for mlocate.


I guess that I need to enable it

===========================================================================
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================


> Sent: Monday, September 19, 2016 at 10:29 PM
> From: stan <stanl-fedorau...@vfemail.net>
> To: users@lists.fedoraproject.org
> Subject: Re: anacron/cron
>
> On Mon, 19 Sep 2016 22:04:21 +0200
> "Patrick Dupre" <pdu...@gmx.com> wrote:
> 
> > The point is that I am not sure that mlocate (or updatedb) runs
> > properly because locate does not find my new files !
> > 
> > How can I be sure that mlocate runs properly ?
> 
> $ systemctl status mlocate-updatedb.service
> ● mlocate-updatedb.service - Update a database for mlocate
>    Loaded: loaded (/usr/lib/systemd/system/mlocate-updatedb.service;
> static; vendor preset: disabled) Active: inactive (dead) since Mon
> 2016-09-19 09:14:14 MST; 4h 7min ago Process: 1046
> ExecStart=/usr/libexec/mlocate-run-updatedb (code=exited,
> status=0/SUCCESS) Main PID: 1046 (code=exited, status=0/SUCCESS)
> 
> This looks like it runs at start, and that's it.  You could try running
> systemctl restart mlocate-updatedb.service
> and see if that updates your database.
> 
> The man pages for updatedb.conf and updatedb seem to suggest that it is
> possible to run updatedb from the command line, and to create your own
> local version of updatedb as a user.
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to