cronie/cronie-anacron-1.4.7-run-crons.patch
Kristyna Streitova db4b3ee70b Accepting request 830854 from home:kstreitova:branches:Base:System
- Use the new value of %_libexecdir macro (/usr/lib -> /usr/libexec)
  in crontab and other occurences: [bsc#1175934]
  * cronie-anacron-1.4.7-run-crons.patch
  * run-crons
  * sample.root
  * sysconfig.cron

OBS-URL: https://build.opensuse.org/request/show/830854
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=191
2020-08-31 14:46:14 +00:00

32 lines
1.4 KiB
Diff

Index: cronie-cronie-1.5.5/contrib/anacrontab
===================================================================
--- cronie-cronie-1.5.5.orig/contrib/anacrontab
+++ cronie-cronie-1.5.5/contrib/anacrontab
@@ -11,6 +11,6 @@ RANDOM_DELAY=45
START_HOURS_RANGE=3-22
#period in days delay in minutes job-identifier command
-1 5 cron.daily nice run-parts /etc/cron.daily
-7 25 cron.weekly nice run-parts /etc/cron.weekly
-@monthly 45 cron.monthly nice run-parts /etc/cron.monthly
+1 5 cron.daily nice /usr/libexec/cron/run-crons /etc/cron.daily
+7 25 cron.weekly nice /usr/libexec/cron/run-crons /etc/cron.weekly
+@monthly 45 cron.monthly nice /usr/libexec/cron/run-crons /etc/cron.monthly
Index: cronie-cronie-1.5.5/man/anacrontab.5
===================================================================
--- cronie-cronie-1.5.5.orig/man/anacrontab.5
+++ cronie-cronie-1.5.5/man/anacrontab.5
@@ -97,9 +97,9 @@ RANDOM_DELAY=30
# Anacron jobs will start between 6am and 8am.
START_HOURS_RANGE=6-8
# delay will be 5 minutes + RANDOM_DELAY for cron.daily
-1 5 cron.daily nice run-parts /etc/cron.daily
-7 0 cron.weekly nice run-parts /etc/cron.weekly
-@monthly 0 cron.monthly nice run-parts /etc/cron.monthly
+1 5 cron.daily nice /usr/libexec/cron/run-crons /etc/cron.daily
+7 0 cron.weekly nice /usr/libexec/cron/run-crons /etc/cron.weekly
+@monthly 0 cron.monthly nice /usr/libexec/cron/run-crons /etc/cron.monthly
.fi
.SH "SEE ALSO"
.BR anacron (8),