X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 5902B1A79E97 for ; Sat, 15 Oct 2011 15:24:55 +0000 (UTC) Received: by yxj19 with SMTP id 19so2905223yxj.17 for ; Sat, 15 Oct 2011 08:24:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=jXpCQ0VHGtTgjLFACMb+F5/FRzocS52yV5ttYBoL+64=; b=OVgbv08YiOdkyxSxA9RZ9HWV0TLb9ahwo4TizO/HE5qcGxH1c1jrNzRHaLa2L0cLTQ pYCHXJBQH9wE2fXgkGrE8wZDDWgki9e/1iQsCa/pmCS0qvBi6q7PNVAory7BASHxH4ew K18c5KrnifTyUrTPsBawj77qU5zfOi78z8AMg= Received: by 10.68.122.169 with SMTP id lt9mr24540289pbb.114.1318692294063; Sat, 15 Oct 2011 08:24:54 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.143.66.10 with HTTP; Sat, 15 Oct 2011 08:24:34 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Ad=C3=A8lphe_Rafanambinana?= Date: Sat, 15 Oct 2011 18:24:34 +0300 Message-ID: Subject: [alpine-devel] Re: How to run script at startup To: alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=e89a8f642d38c1759a04af57f9f6 --e89a8f642d38c1759a04af57f9f6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all, Just to let you know, that I get my answer and it works well. Thank you, On Sat, Oct 15, 2011 at 16:23, Ad=C3=A8lphe Rafanambinana wrote: > Hi all, > > I'd like to run one program at startup. Then I put the command into a bas= h > script: > > #!/bin/bash > /usr/bin/screen -dmS > > I create a "rc.local" file and put it to /etc (I tried to put it to > /et/init.d/rc.local too) > When I run it mannually, it works well but it wouldn't start at next boot= . > > Anyone can help me to get it working? > > Thank you, > -- > Ad=C3=A8lphe Rafanambinana > > > --=20 Ad=C3=A8lphe Rafanambinana --e89a8f642d38c1759a04af57f9f6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable = Hi all,
Just to let you know, that I get my answer and it works well.Thank you,

On Sat, = Oct 15, 2011 at 16:23, Ad=C3=A8lphe Rafanambinana <radelphe@gmail.com> wrote:=
Hi all,

I'd like to run one prog= ram at startup. Then I put the command into a bash script:

#!/bin/bash
/usr/bin/screen -dmS <session_name> </path/to/c= ommand>

I create a "rc.local" file and put it to /etc (I tried to put= it to /et/init.d/rc.local too)
When I run it mannually, it works well b= ut it wouldn't start at next boot.

Anyone can help me to get it = working?

Thank you,
--
Ad=C3=A8lphe Rafanambinana






--
Ad=C3=A8lphe Rafanambinana
<= br>
--e89a8f642d38c1759a04af57f9f6-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---