Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] Starting a daemon automatically without rc-update
Date: Wed, 12 Aug 2009 21:40:51
Message-Id: 49bf44f10908121440o3764f861r6dfddcc4c4ce91c@mail.gmail.com
1 I run one program which needs to be started as a particular user
2 whenever the system comes up, but there is no ebuild. Is this the
3 Gentoo way?
4
5 # cat /etc/init.d/rc.local
6 #!/sbin/runscript
7
8 start() {
9 su user
10 /path/to/program/binary
11 }
12
13 - Grant

Replies

Subject Author
Re: [gentoo-user] Starting a daemon automatically without rc-update Neil Bothwick <neil@××××××××××.uk>