From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.67) (envelope-from ) id 1IFcer-0002VC-D3 for garchives@archives.gentoo.org; Mon, 30 Jul 2007 21:20:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6ULHost002879; Mon, 30 Jul 2007 21:17:50 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6ULCb0t029733 for ; Mon, 30 Jul 2007 21:12:37 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 5A36F6489A for ; Mon, 30 Jul 2007 21:12:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.398 X-Spam-Level: X-Spam-Status: No, score=-0.398 required=5.5 tests=[AWL=-0.213, BAYES_40=-0.185] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wH6oAf9TSyFz for ; Mon, 30 Jul 2007 21:12:34 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 0BE1C647E4 for ; Mon, 30 Jul 2007 21:12:33 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IFcXA-0005a1-Ex for gentoo-user@gentoo.org; Mon, 30 Jul 2007 23:12:08 +0200 Received: from p54a356c2.dip.t-dialin.net ([84.163.86.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Jul 2007 23:12:08 +0200 Received: from anno by p54a356c2.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Jul 2007 23:12:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: "Anno v. Heimburg" Subject: [gentoo-user] Re: program autostart from another user [OT] Date: Mon, 30 Jul 2007 23:11:47 +0200 Message-ID: References: <200707301129.41358.alexey.kv@gmail.com> <200707301826.24439.alexey.kv@gmail.com> <642958cc0707300855k563c79c4ja540e3577bda7c6@mail.gmail.com> <200707301913.58802.alexey.kv@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p54a356c2.dip.t-dialin.net User-Agent: KNode/0.10.4 Sender: news X-Archives-Salt: aa9fbd80-f98b-4a26-95de-08e153882c79 X-Archives-Hash: daf98284674f1db363ec3dd9dcd58e41 Aleksey V. Kunitskiy wrote: > I'm confused - is the local.[start,stop] the same as start-stop-daemon? or > not? No, the suggestion is to use start-stop-daemon instead of sudo. man start-stop-daemon for more information. You will still have to call start-stop-daemon from an init script for both starting and stopping. Either use local.[start|stop] or roll your own init script, using any existing init script as a template. Anno. -- gentoo-user@gentoo.org mailing list