On Sat, 04 May 2002 13:43:44 +0200, Oden Eriksson wrote :

> On Saturdayen den 4 May 2002 12.57, Borsenkow Andrej wrote:
>> � ���, 04.05.2002, � 14:17, Oden Eriksson �������:
>> > Hi,
>> >
>> > How exactly is the correct layout for a sys5 rc script these days?
>> >
>> > I just installed "spamassassin", and just like "cistron radius" it's
>> > invisible using "ntsysv". Is it a bug in "ntsysv" ?
>> >
>> > I can't really see what's that different between these two:
>> >
>> > [root@multi init.d]# head -10 spamassassin #!/bin/sh #
>> > # spamassassin This script starts and stops the spamd daemon # #
>> > chkconfig: 2345 80 30
>> > #
>> > # description: spamd is a daemon process which uses SpamAssassin to
>> > check #              email messages for SPAM.  It is normally called
>> > by spamc #              from a MDA.
>> > # processname: spamd
>>
>> I can't reproduce it. I copied just the above lines into
>> /etc/init,d/spamassasin and it is shown in both chkconfig and ntsysv
> 
> Ahh, you're right. It turned out to be a spec file thing...
> 
> The specfile for spamassasin lacks the "chkconfig --add spamassassin"
> rpm macro.
> 
> I will look into the cistron radius sys5 script and its spec file and
> see if I can fix it.

There is a reason for not addin "checkconfig --add spamassassin" :

You can use spamassassin either in standalone mode or daemon mode so I
didn't add the chkconfig line in 0ost..

-- 
Fr�d�ric Crozat
MandrakeSoft

Reply via email to