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. Thanks Andrej! -- Regards // Oden Eriksson