diff --git a/cron.service b/cron.service new file mode 100644 index 0000000..11ec890 --- /dev/null +++ b/cron.service @@ -0,0 +1,9 @@ +[Unit] +Description=Command Scheduler +After=syslog.target + +[Service] +ExecStart=/usr/sbin/cron -n + +[Install] +WantedBy=multi-user.target diff --git a/cronie-1.4.5_git201010210619.tar.xz b/cronie-1.4.5_git201010210619.tar.xz deleted file mode 100644 index 0554b96..0000000 --- a/cronie-1.4.5_git201010210619.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1e76bd653725d3df743d9e32da4f548f9d8ed4b84cba73848cc6acf88f0e24f5 -size 84656 diff --git a/cronie-1.4.6.tar.xz b/cronie-1.4.6.tar.xz new file mode 100644 index 0000000..9cecde9 --- /dev/null +++ b/cronie-1.4.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8c67cb6267eb9fd303107425533105a88b90b844a77588941bdd6582f6516a5 +size 157052 diff --git a/cronie.changes b/cronie.changes index 802f3a5..e7efab1 100644 --- a/cronie.changes +++ b/cronie.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Oct 27 09:04:54 UTC 2010 - aj@suse.de + +- Add cron.service for systemd. + +------------------------------------------------------------------- +Wed Oct 27 08:31:19 UTC 2010 - mseben@gmail.com + +- Update to cronie 1.4.6 + * man/anacron.8, man/anacrontab.5, man/cron.8, man/crontab.1, + man/crontab.5: Rewrite of man pages & correction + * man/bitstring.3: Remove useless man page + * Check clustering before un/watch function + * Remove cluster support from inotify_database + * The crontab command uses "-c" and "-n" instead of "-h" + ------------------------------------------------------------------- Mon Oct 25 11:08:38 UTC 2010 - coolo@novell.com diff --git a/cronie.spec b/cronie.spec index e0df969..1225063 100644 --- a/cronie.spec +++ b/cronie.spec @@ -29,7 +29,7 @@ Recommends: smtp_daemon Recommends: postfix AutoReqProv: on PreReq: permissions %fillup_prereq %insserv_prereq cron -Version: 1.4.5_git201010210619 +Version: 1.4.6 Release: 2 %{expand: %%define cronie_version %version} Summary: Cron Daemon @@ -41,6 +41,7 @@ Source4: deny.sample Source5: cron.xml Source6: cronie-rpmlintrc Source7: cron_to_cronie.README +Source8: cron.service # PATCH-FEATURE-OPENSUSE cronie-pam_config.diff added pam config file from old cron Patch3: %name-pam_config.diff # openSUSE set NHEADER_LINES to 3 - old openSUSE cron put three lines of comments @@ -111,6 +112,8 @@ CFLAGS="$RPM_OPT_FLAGS -DCRON_VERSION=\\\"%{version}\\\"" %{__install} -v -d %{buildroot}%{_sysconfdir}/init.d/ %{__install} -v -m744 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/cron %{__ln_s} -f ../../etc/init.d/cron %{buildroot}/usr/sbin/rccron +%{__install} -v -d %{buildroot}/lib/systemd/system +%{__install} -v -m 644 %{SOURCE8} %{buildroot}/lib/systemd/system %{__install} -m 644 contrib/anacrontab $RPM_BUILD_ROOT%{_sysconfdir}/anacrontab %{__install} -c -m755 contrib/0anacron $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly/0anacron %{__mkdir_p} $RPM_BUILD_ROOT/var/spool/anacron @@ -202,6 +205,8 @@ fi %config %{_sysconfdir}/omc/srvinfo.d/cron.xml %dir %{_sysconfdir}/omc/srvinfo.d/ %dir %{_sysconfdir}/omc/ +%dir /lib/systemd/system +/lib/systemd/system/cron.service %files anacron %defattr(-,root,root,-)