LSB init scripts - automatic start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jon Ciesla (limb) wrote:
Author: limb

Update of /cvs/pkgs/rpms/moodle/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17700

Modified Files:
moodle.init moodle.spec sources Log Message:
Bump to upstream, fix initscript for bugfix 246986.



Index: moodle.init
===================================================================
RCS file: /cvs/pkgs/rpms/moodle/F-8/moodle.init,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- moodle.init	13 Apr 2007 22:54:23 -0000	1.2
+++ moodle.init	8 Nov 2007 17:30:09 -0000	1.3
@@ -10,6 +10,17 @@
 # description:  Enable the Moodle cron job
 #
+### BEGIN INIT INFO
+# Provides: lsb-moodle
+# Required-Start: $local_fs $network $remote_fs
+# Required-Stop: $local_fs $network $remote_fs
+# Default-Start:  2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: start and stop Moodle cron job
+# Description: Moodle is an online courseware system
+### END INIT INFO

I believe this (having Default-Start) will enable the service by default. Previously, most packages ("Extras") are not supposed to be enabled by default (have - in chkconfig line). Please be aware.





--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@xxxxxxxxxxxxx
Boulder, CO 80301              http://www.cora.nwra.com

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux