Re: Install a `service'

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

 



On Wed, Dec 04, 2002 at 08:01:54PM -0800, Harry Putnam wrote:
> Pretty sure I recall being able to put an init script in
> /etc/rc.d/init.d  and then that script would be seen by such tools as
> chkconfig  setup  ntsysv would see it and be be able to setup the
> symlink.
> 
> That doesn't seem to work for me now.
> 
> I've built a cvs source for spamassassin, and installed an init
> script -  /etc/rc.d/init.d/spamassassin
> 
>   ls -l /etc/rc.d/init.d/spamassassin
> -rwxr-xr-x 1 root root 1220 Sep 10 00:22 /etc/rc.d/init.d/spamassassin
> 
> This script actually works when called with 
>   service spamassassin status/start/restart etc
> 
> But isn't seen by the above mentioned tools.
> 
> The online manual for 8 has two sections that look promising
>   sysv init
>   init runlevels
> 
> Neither tells how to intall a `service' script so it will be
> recognized.
Use the --add option of chkconfig
-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam@trinity.edu



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux