1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Environment/Base
11 url = https://fedorahosted.org/cronie/
12 license = MIT and BSD and ISC and GPLv2
13 summary = Cron daemon for executing programs at set times
16 Cronie contains the standard UNIX daemon crond that runs specified programs at
17 scheduled times and related tools. It is a fork of the
18 original vixie-cron and has security and configuration enhancements like
19 the ability to use pam and SELinux.
22 source_dl = https://fedorahosted.org/releases/c/r/cronie/
36 configure_options += \
42 mkdir -pv %{BUILDROOT}%{localstatedir}/spool/cron
48 # Just search for new unit files that were just installed.
50 systemctl daemon-reload >/dev/null 2>&1 || :
52 # Enable cronie on startup.
53 systemctl enable cronie.service >/dev/null 2>&1 || :
56 # Disable the service that is to be removed and stop it if it is still running.
58 systemctl --no-reload disable cronie.service >/dev/null 2>&1 || :
59 systemctl stop cronie.service >/dev/null 2>&1 || :
62 # Just tell systemd that unitfiles have been removed.
64 systemctl daemon-reload >/dev/null 2>&1 || :
67 # Try to restart the service if it is running.
69 systemctl daemon-reload >/dev/null 2>&1 || :
70 systemctl try-restart cronie.service >/dev/null 2>&1 || :
74 package %{name}-debuginfo