supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* chpst: $USER and $HOME
@ 2005-09-27 17:18 Nicholas J Humfrey
  2005-09-27 18:15 ` Charlie Brady
  0 siblings, 1 reply; 2+ messages in thread
From: Nicholas J Humfrey @ 2005-09-27 17:18 UTC (permalink / raw)


Hello again,

What is the best practice for setting $USER and $HOME when running  
"chpst -u notroot". I have a service which requires $USER and $HOME  
to be set correctly.

At the moment I am just manually setting them prior to the final exec.


Thanks,

nick.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: chpst: $USER and $HOME
  2005-09-27 17:18 chpst: $USER and $HOME Nicholas J Humfrey
@ 2005-09-27 18:15 ` Charlie Brady
  0 siblings, 0 replies; 2+ messages in thread
From: Charlie Brady @ 2005-09-27 18:15 UTC (permalink / raw)
  Cc: supervision


On Tue, 27 Sep 2005, Nicholas J Humfrey wrote:

> What is the best practice for setting $USER and $HOME when running "chpst -u 
> notroot". I have a service which requires $USER and $HOME to be set 
> correctly.
>
> At the moment I am just manually setting them prior to the final exec.

Which works just fine, doesn't it?

Often (usually?) $HOME and $USER don't need to be set.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-27 18:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-27 17:18 chpst: $USER and $HOME Nicholas J Humfrey
2005-09-27 18:15 ` Charlie Brady

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).