fedora-rpmdevtools rpmdevtools.spec, 1.29, 1.30 template.init, 1.3, 1.4
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Thu Jul 5 20:08:21 UTC 2007
Author: scop
Update of /cvs/fedora/fedora-rpmdevtools
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28758
Modified Files:
rpmdevtools.spec template.init
Log Message:
Add LSB comment block to init script template.
Index: rpmdevtools.spec
===================================================================
RCS file: /cvs/fedora/fedora-rpmdevtools/rpmdevtools.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- rpmdevtools.spec 5 Jul 2007 19:57:40 -0000 1.29
+++ rpmdevtools.spec 5 Jul 2007 20:08:18 -0000 1.30
@@ -102,6 +102,7 @@
%changelog
* Thu Jul 5 2007 Ville Skyttä <ville.skytta at iki.fi>
- Add cmake and scons to default devel package list in rpmdev-rmdevelrpms.
+- Add LSB comment block to init script template.
* Wed Jun 27 2007 Ville Skyttä <ville.skytta at iki.fi>
- Add 2-argument form for comparing EVR strings to rpmdev-vercmp
Index: template.init
===================================================================
RCS file: /cvs/fedora/fedora-rpmdevtools/template.init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- template.init 11 Dec 2004 00:34:41 -0000 1.3
+++ template.init 5 Jul 2007 20:08:18 -0000 1.4
@@ -10,6 +10,19 @@
# config: </path/to/conffile2>
# pidfile: </path/to/pidfile>
+# http://fedoraproject.org/wiki/FCNewInit/Initscripts
+### BEGIN INIT INFO
+# Provides:
+# Required-Start:
+# Required-Stop:
+# Should-Start:
+# Should-Stop:
+# Default-Start:
+# Default-Stop:
+# Short-Description:
+# Description:
+### END INIT INFO
+
# Source function library.
. /etc/rc.d/init.d/functions
@@ -28,7 +41,7 @@
start() {
echo -n $"Starting $prog: "
- # start it up here, usually something like "daemon $exec"
+ # if not running, start it up here, usually something like "daemon $exec"
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
More information about the scm-commits
mailing list