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

Re: Start at boot time with /etc/init.d/functions



In article <[🔎] 01ab01c34aaa$ff5e6d20$020119ac@ADMMGMTWS>,
Louie Miranda <louie@axishift.ath.cx> wrote:
>"roger engineer" <roger01@engineer.com> wrote:
>> I'm trying to configure my debian linux to start the tomcat
>> webserver at boot time.
>> All startup scripts found on the web contain the following line:
>> . /etc/init.d/functions

That's a redhat thing. Debian doesn't have that.

>> As there is no file "functions" in my init.d directory, I get only an
>> error message. Could not find this file, neither on the debian homepage nor
>> anywhere else in the www.
>> Can anybody help an tell send me this file or tell me where to download it?

You need a Debianized startup script, the Redhat version won't work.

>> Every hint appreciated.
>
>Where did you get the /etc/init.d/functions?
>As far as i can remember it doesnt link to tomcat.
>You can try adding the tomcat startup commands via..
>
>/etc/rc.boot just make a 775 *perm* file so it will run on your next boot.

/etc/rc.boot is officially deprecated. It doesn't even exist on
new installs. It was also never meant to start daemons from.
Do not use it.

Read /etc/init.d/README and /etc/init.d/skeleton to see how to
do things the right (debian) way.

Mike.



Reply to: