LSB init scripts - automatic start
Jon Ciesla
limb at jcomserv.net
Fri Nov 9 18:49:59 UTC 2007
> 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.
>
Should I alter Moodle to not start by default? I assumed this setting
would mean that Moodle's service* would start on boot, not install.
I could do so, and add something to the documentation.
*cron job
>
>
>
> --
> Orion Poplawski
> Technical Manager 303-415-9701 x222
> NWRA/CoRA Division FAX: 303-415-9702
> 3380 Mitchell Lane orion at cora.nwra.com
> Boulder, CO 80301 http://www.cora.nwra.com
>
--
novus ordo absurdum
More information about the devel
mailing list