SA Bugzilla – Bug 3026
Red Hat init script improvements
Last modified: 2004-04-24 09:20:26 UTC
I will attach a patch containing small improvements to the Red Hat spamd init script: Wrapped lines should be backslashified in order to allow the description to be correctly shown in eg. redhat-config-services. processname is also used by some init script related UIs.
Created attachment 1762 [details] Backslashify description, add processname
Subject: RE: Red Hat init script improvements > Backslashify description, add processname What's the motivation for backslashifying comments? +# processname: spamd +# description: spamd is a daemon process which uses SpamAssassin to check \ +# email messages for SPAM. It is normally called by spamc \ # from a MDA. Also, not sure of the rule on this, but should "a MDA" read "an MDA" instead?
It is not only a comment, it's also a description. As said in the initial comment, some GUI programs, eg. redhat-config-services displays it. Without the backslashes, it displays: spamd is a daemon process which uses SpamAssassin to check With the backslashes in place, it displays: spamd is a daemon process which uses SpamAssassin to check email messages for SPAM. It is normally called by spamc from a MDA. From the documentation (/usr/share/doc/initscripts-*/sysvinitfiles): # description: <multi-line description of service> Required. Several lines of description, continued with '\' characters. The initial comment and following whitespace on the following lines is ignored. FWIW, +1 for "an MDA".
taking the bug
ok, applied to head. thanks! btw: for future reference for folks: http://www.sensi. org/~alec/unix/redhat/sysvinit.html explains some of this stuff. :) I'm putting this in the 2.64 queue in case we do another 2.6 release.
house cleaning, not doing a 2.64 release, so ...