Re: Install a `service'

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 04 December 2002 11:32 pm, Harry Putnam wrote:
> Michael Fratoni <mfratoni@tuxfan.homeip.net> writes:

> > Once created, use
> > chkconfig --add name
> > chkconfig name on
>
> My script had the requisit headers but apparently the missing
> ingrediant was `chkconfig -add NAME'. ... thanks.
>
> Has this always been required?  I thought I remembered in previous
> releases, just adding the script and it was seen automatically.

I don't recall, to be honest. However, it's been part of the post_install 
scripts for chkconfig managed packages since at least the 7.2 release.
$ rpm -qp --scripts 
/home/mfratoni/devel/dist-7.2/stock/RedHat/RPMS/xinetd-2.3.3-1.i386.rpm
postinstall scriptlet (through /bin/sh):
chmod +x /usr/sbin/inetdconvert
if [ $1 = 1 ]; then
    /sbin/chkconfig --add xinetd
fi

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE97t67n/07WoAb/SsRAnFCAKCtq2pfFxf9ivgrXdzmKqhWl/i1wgCfWbyZ
pevveQ2tf86O5qKf+P7owJQ=
=uB0l
-----END PGP SIGNATURE-----



-- 
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