Accepting request 433756 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/433756 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cronie?expand=0&rev=62
This commit is contained in:
commit
03db8b00f1
88
cron.xml
88
cron.xml
@ -1,88 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Copyright (c) 2008 Novell, Inc. All rights reserved.
|
||||
|
||||
|
||||
Service Description XML Document for sshd.
|
||||
|
||||
This file should be placed in /usr/share/omc/svcinfo.d
|
||||
|
||||
Note: The name of the service is the name of this file without the .xml
|
||||
file extension.
|
||||
-->
|
||||
|
||||
<serviceDescription version="1.0">
|
||||
|
||||
<!-- Caption for display purposes -->
|
||||
<caption>CRON daemon</caption>
|
||||
|
||||
<!-- Description of this service -->
|
||||
<description>
|
||||
CRON Job Service
|
||||
</description>
|
||||
|
||||
|
||||
<!--
|
||||
The startCommand tag specifies the command line that will be
|
||||
invoked to start the service. The return code from this command
|
||||
must be as follows:
|
||||
0 - success
|
||||
1 - generic or unspecified error
|
||||
2 - invalid or excess argument(s)
|
||||
3 - unimplemented feature (e.g. "reload")
|
||||
4 - user had insufficient privileges
|
||||
5 - program is not installed
|
||||
6 - program is not configured
|
||||
7 - program is not running
|
||||
-->
|
||||
<startCommand>/usr/sbin/rccron start</startCommand>
|
||||
|
||||
<!--
|
||||
The reStartCommand tag specifies the command line that will be
|
||||
invoked to restart the service. The return code from this command
|
||||
must be as specified in the startCommand tag.
|
||||
-->
|
||||
<reStartCommand>/usr/sbin/rccron restart</reStartCommand>
|
||||
|
||||
<!--
|
||||
The stopCommand tag specifies the command line that will be
|
||||
invoked to stop the service. The return code from this command
|
||||
must be as specified in the startCommand tag.
|
||||
-->
|
||||
<stopCommand>/usr/sbin/rccron stop</stopCommand>
|
||||
|
||||
<!--
|
||||
The statusCommand specifies the command line that can be run
|
||||
that will report on the status of the service. The return code
|
||||
from this command line should be as follows:
|
||||
0 - service up and running
|
||||
1 - service dead, but /var/run/ pid file exists
|
||||
2 - service dead, but /var/lock/ lock file exists
|
||||
3 - service not running (unused)
|
||||
4 - service status unknown :-(
|
||||
-->
|
||||
<statusCommand>/usr/sbin/rccron status</statusCommand>
|
||||
<!--
|
||||
The processInformation tag allows the XML Service provider to
|
||||
identify the processes that belong to the service. This allows
|
||||
the ServiceProcess associations to be instrumented.
|
||||
If the process_information tag is not specifed, the will be no
|
||||
ServiceProcess association for the service.
|
||||
-->
|
||||
|
||||
<processInformation>
|
||||
<name>cron</name>
|
||||
<modulePath>/usr/sbin/cron</modulePath>
|
||||
</processInformation>
|
||||
|
||||
<!--
|
||||
Define the services that this service has a dependency on.
|
||||
There must be a corresponding Service Description XML file
|
||||
for the antecedent service in the /etc/omc/svcinfo.d directory.
|
||||
-->
|
||||
<dependsOn>
|
||||
<serviceName>syslog</serviceName>
|
||||
</dependsOn>
|
||||
|
||||
|
||||
</serviceDescription>
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 14:35:34 UTC 2016 - kstreitova@suse.com
|
||||
|
||||
- remove the omc xml config that is useless nowdays
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 8 10:24:43 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
|
10
cronie.spec
10
cronie.spec
@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define cron_configs %{_sysconfdir}/pam.d/crond %{_sysconfdir}/crontab %{_sysconfdir}/cron.deny %{_sysconfdir}/omc/srvinfo.d/cron.xml
|
||||
%define cron_configs %{_sysconfdir}/pam.d/crond %{_sysconfdir}/crontab %{_sysconfdir}/cron.deny
|
||||
Name: cronie
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
@ -28,7 +28,6 @@ Source0: https://fedorahosted.org/releases/c/r/%{name}/%{name}-%{version}
|
||||
Source2: run-crons
|
||||
Source3: sample.root
|
||||
Source4: deny.sample
|
||||
Source5: cron.xml
|
||||
Source6: cronie-rpmlintrc
|
||||
Source7: cron_to_cronie.README
|
||||
Source8: cron.service
|
||||
@ -142,10 +141,6 @@ touch %{buildroot}%{_localstatedir}/spool/anacron/cron.daily
|
||||
touch %{buildroot}%{_localstatedir}/spool/anacron/cron.weekly
|
||||
touch %{buildroot}%{_localstatedir}/spool/anacron/cron.monthly
|
||||
|
||||
# service xml
|
||||
install -v -d %{buildroot}%{_sysconfdir}/omc/srvinfo.d/
|
||||
install -v -m644 %{SOURCE5} %{buildroot}%{_sysconfdir}/omc/srvinfo.d/
|
||||
|
||||
%pre -n cron
|
||||
# Check if we are doing update from 4.1 vixie-cron.
|
||||
# The -h does report garbage on vixie cron.
|
||||
@ -205,9 +200,6 @@ exit 0
|
||||
%attr (755,root,root) %{_sbindir}/cron
|
||||
%{_sbindir}/rccron
|
||||
%{_libexecdir}/cron
|
||||
%config %{_sysconfdir}/omc/srvinfo.d/cron.xml
|
||||
%dir %{_sysconfdir}/omc/srvinfo.d/
|
||||
%dir %{_sysconfdir}/omc/
|
||||
%{_unitdir}/cron.service
|
||||
%{_localstatedir}/adm/fillup-templates/sysconfig.cron
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user