- 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
13 lines
188 B
SYSTEMD
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
|