- show that we implement force-reload and try-restart in the init script's

help message (#522131)
This commit is contained in:
Nalin Dahyabhai 2010-01-25 23:52:50 +00:00
parent 371b2b39c8
commit 6e0dbbfe68
2 changed files with 21 additions and 1 deletions

14
oddjob-0.29.1-usage.patch Normal file
View File

@ -0,0 +1,14 @@
Advertise a couple of the commands which are already implemented. The specific
order matches one of the translated strings provided by the initscripts package.
diff -up oddjob-0.29.1-1/scripts/oddjobd.in oddjob-0.29.1-1/scripts/oddjobd.in
--- oddjob-0.29.1-1/scripts/oddjobd.in 2010-01-25 18:34:39.000000000 -0500
+++ oddjob-0.29.1-1/scripts/oddjobd.in 2010-01-25 18:34:43.000000000 -0500
@@ -99,7 +99,7 @@ case "$1" in
RETVAL=$?
;;
*)
- echo $"Usage: $0 {start|stop|restart|condrestart|reload|status}"
+ echo $"Usage: $0 {start|stop|restart|condrestart|try-restart|reload|force-reload|status}"
exit 1
esac

View File

@ -3,7 +3,7 @@
Name: oddjob
Version: 0.29.1
Release: 4%{?dist}
Release: 5%{?dist}
Source: http://people.redhat.com/nalin/oddjob/oddjob-%{version}-1.tar.gz
Summary: A D-BUS service which runs odd jobs on behalf of client applications
License: BSD
@ -17,6 +17,7 @@ Requires(post): /sbin/service
Requires(postun): /sbin/service
Requires(post): /sbin/chkconfig
Requires(pre): /sbin/chkconfig
Patch0: oddjob-0.29.1-usage.patch
URL: http://people.redhat.com/nalin/oddjob/
%description
@ -74,6 +75,7 @@ This package contains a trivial sample oddjob service.
%prep
%setup -q -n %{name}-%{version}-1
%patch0 -p1 -b .usage
%build
sample_flag=
@ -190,6 +192,10 @@ fi
exit 0
%changelog
* Mon Jan 25 2010 Nalin Dahyabhai <nalin@redhat.com> - 0.29.1-5
- show that we implement force-reload and try-restart in the init script's
help message (#522131)
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild