[Rubygems-developers] Installing startup scripthat

Eric Hodel drbrain at segment7.net
Mon Jun 18 03:53:49 EDT 2007


On Jun 17, 2007, at 08:10, Marcus Rueckert wrote:
> On 2007-06-17 00:33:02 +0200, Uwe Kubosch wrote:
>> I have made a gem with an executable, and I would like to start a  
>> daemon
>> at boot using /etc/init.d/<my script>
>>
>> What is the best way to install such a file?
>>
>> I would like update and uninstall to update and remove the file also.
>>
>> Any help is greatly appreciated.
>
> i would only provide it as sample script in your gem directory. the
> differences between various operating system/linux distros/init  
> systems
> are too big.

Agreed.  For ar_mailer, I have a *BSD rc.d script in share/, and a  
note in the readme about where to find it.

--
Poor workers blame their tools. Good workers build better tools. The  
best
workers get their tools to do the work for them. -- Syndicate Wars




More information about the Rubygems-developers mailing list