shell startup script

2010-04-12 Por tôpico Leonardo Carneiro - Veltrac
Hi, i did it a small shell script to start one service at boot: #!/bin/bash case $1 in start) echo Starting Redmine /etc/init.d/postgresql-8.3 start ruby

Re: shell startup script

2010-04-12 Por tôpico Allan Carvalho
Put your script on the /etc/init.d directory, so, run the update-rc.d with the name of your script, this command will put the script at the startup of the system. Hugs, Allan Carvalho 2010/4/12 Leonardo Carneiro - Veltrac lscarne...@veltrac.com.br: Hi, i did it a small shell script to start one

Re: shell startup script

2010-04-12 Por tôpico Leonardo Carneiro - Veltrac
Hi Allan and everyone. Tks for your tips, but i have already done that. The problem happens when i have the need to manually run the script, like /etc/init.d/redmine start. Allan Carvalho wrote: Put your script on the /etc/init.d directory, so, run the update-rc.d with the name of your

Re: shell startup script

2010-04-12 Por tôpico Allan Carvalho
Hum, You tried start the script with nohup? Hugs, Allan Carvalho 2010/4/12 Leonardo Carneiro - Veltrac lscarne...@veltrac.com.br: Hi Allan and everyone. Tks for your tips, but i have already done that. The problem happens when i have the need to manually run the script, like

Re: shell startup script

2010-04-12 Por tôpico Gunther Furtado
Do you realize you are posting to a portuguese writing list? debian-u...@lists.debian.org speaks in engllish... [...] Cheers/saludos/amplex, -- ...agora, só nos sobrou o futuro..., visto em www.manuchao.net Gunther Furtado Curitiba - Paraná - Brasil gunfurt...@gmail.com -- To

Re: shell startup script

2010-04-12 Por tôpico Gunther Furtado
2010/4/12 Leonardo Carneiro - Veltrac lscarne...@veltrac.com.br: Hi Allan and everyone. Tks for your tips, but i have already done that. The problem happens when i have the need to manually run the script, like /etc/init.d/redmine start. Você iniciou o script como qual usuário? [...]

Re: shell startup script

2010-04-12 Por tôpico Frederico Martins
Aproveitando o assunto , Como eu coloco um arquivo pra iniciar depois do (dhcp) e antes do (gdm/login modo texto) . Coloquei no init.d e ele carrega antes das configurações do network Abraços -- Frederico Martins P Junior fredim.wordpress.com

Re: shell startup script

2010-04-12 Por tôpico Gunther Furtado
Em 12 de abril de 2010 11:01, Frederico Martins fred...@gmail.com escreveu: Aproveitando o assunto , Como eu coloco um arquivo pra iniciar depois do (dhcp) e antes do (gdm/login modo texto) . Dê uma olhada no cabeçalho de algum dos outros scripts e veja como as dependências são estabelecidas.

Re: shell startup script

2010-04-12 Por tôpico Leonardo Carneiro - Veltrac
auehauheuhaeuhaeuh Putz, que mancada minha. É que eu frequento bastante listas em inglês, e estava trocando emails na lista do backports hj, que é em inglês. Desculpem a minha falha. O 'nohup' resolveu meu problema. Abraços. Gunther Furtado wrote: Do you realize you are posting to a