Buenas,

tengo un servicio que da un script de inicio situado bajo /opt.
Mi idea es estandarizarlo y meterlo bajo /etc/init.d (link) y
controlarlo con chkconfig.

leyendo el man dice:

Each service which should be manageable by chkconfig needs two or more
commented lines added to its init.d script.[...]

esas lineas están:


# !hea
head /etc/init.d/service
#!/bin/sh
# chkconfig: 345 75 25
# description: kaka

pero chkconfig no lo ve:

# chkconfig --list|grep service
xinetd based services:


que me estoy dejando ? que más necesita chkconfig para ver ese servicio?

gracias de antemano!

-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
--
_______________________________________________
Comandob mailing list
[email protected]
http://lists.badopi.org/mailman/listinfo/comandob

Responder a