Mailinglist Archive: opensuse-factory (710 mails)
| < Previous | Next > |
Re: [opensuse-factory] Running daemon as a user
- From: Anders Johansson <ajh@xxxxxxxx>
- Date: Wed, 8 Jun 2011 23:06:37 +0200
- Message-id: <201106082306.37844.ajh@nitio.de>
On Wednesday 08 June 2011 22:51:27 Robert Schweikert wrote:
Use the standard method used in all the start scripts.
startproc -u <user> -g <group> /path/to/exe <arguments for program>
Anders
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
Hi,
Working on OpenNebula. The upstream source provides a script to start a
daemon. With a couple of patches I turned the script into an init script
that keeps rpmlint quiet. In the package I put the patched script into
/etc/init.d.
The problem I now have is that I do not want to run the daemon as root.
Use the standard method used in all the start scripts.
startproc -u <user> -g <group> /path/to/exe <arguments for program>
Anders
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |