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

Re: Create new service



Winanjaya wrote:

Dear the Expert,
I am trying to create new service named "myservice" .. but why I got this error message "service myservice does not support chkconfig"
when I run chkconfig --add myservice .. .. please help ..



Thanks


Winan

According to the chkconfig manpage, it creates runlevel scripts based on the start scripts for each service.


In other words - this is what I'd do:

copy one of the services in /etc/rc.d/init.d to the name of your script and modify accordingly.

Regards,
Ed.





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