Gentoo Archives: gentoo-user

From: Keith Dart <keith@×××××××××.biz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Starting a daemon automatically without rc-update
Date: Thu, 13 Aug 2009 01:18:05
Message-Id: 20090812181802.40f00b33@dartworks.biz
In Reply to: Re: [gentoo-user] Starting a daemon automatically without rc-update by Neil Bothwick
1 === On Wed, 08/12, Neil Bothwick wrote: ===
2 > start() {
3 > su - user -c /path/to/program/binary
4 > }
5
6 ===
7
8 That works as long as the binary forks and runs as a daemon. If not,
9 you will probably have to use the start-stop-daemon helper program.
10
11
12
13 -- Keith Dart
14
15 --
16 -- --------------------
17 Keith Dart
18 <keith@×××××××××.biz>
19 =======================