Files
mlocate/mlocate.timer
Peter Simons 8df8fecc3f Accepting request 652800 from home:etorres4:branches:openSUSE:Factory
- Add systemd service and timer units
- Add rc symlinks for backwards compatibility
- Add BuildRequires for systemd-rpm-macros
- Minor correction to summary, change 'an' to 'a'
- Add commands for registering systemd unit files in install scripts
- Update files list to include systemd units
- Remove dependency on cron
- Move logic from cron script to systemd service unit
- Remove all variables except RUN_UPDATEDB_AS from sysconfig.locate

OBS-URL: https://build.opensuse.org/request/show/652800
OBS-URL: https://build.opensuse.org/package/show/server:search/mlocate?expand=0&rev=64
2018-11-30 10:56:14 +00:00

13 lines
188 B
SYSTEMD

[Unit]
Description=Daily locate database update
Documentation=man:updatedb
[Timer]
OnCalendar=daily
AccuracySec=12h
Unit=mlocate.service
Persistent=true
[Install]
WantedBy=timers.target