Phil Schaffner wrote:
> Davide Cittaro wrote:
> > Ok, another one: the process I would like to start is not a daemon
> > itself. If I start it with "daemon" function it remains in foreground.
> > Ok, I can play with '&' but is there a init function to start in
> > background a process?
>
> Y
Hi,
On Fri, Dec 12, 2008 at 09:13, Davide Cittaro
wrote:
> Ok, another one: the process I would like to start is not a daemon
> itself. If I start it with "daemon" function it remains in foreground.
> Ok, I can play with '&' but is there a init function to start in
> background a process?
Use "n
Davide Cittaro wrote:
> Ok, another one: the process I would like to start is not a daemon
> itself. If I start it with "daemon" function it remains in foreground.
> Ok, I can play with '&' but is there a init function to start in
> background a process?
You just hijacked your own thread. B
Jacques B. wrote:
...
>
> Do you mean like $0? That gives you the current script name.
Or better yet
basename $0
if you want the name of the script and not the full path.
Phil
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman
Ok, another one: the process I would like to start is not a daemon
itself. If I start it with "daemon" function it remains in foreground.
Ok, I can play with '&' but is there a init function to start in
background a process?
d
/*
Davide Cittaro
Cogentech - Consortium for Genomic Technologie
On Dec 12, 2008, at 2:40 PM, Jacques B. wrote:
> Do you mean like $0? That gives you the current script name.
:-)
Fine, thanks, I thought that launching with /sbin/service somehow
breaks positional variables...
d
/*
Davide Cittaro
Cogentech - Consortium for Genomic Technologies
via adamell
On Fri, Dec 12, 2008 at 8:37 AM, Davide Cittaro
wrote:
> Hi all, is there a function (or variable) I can use in a custom init script
> that identifies the init script name? i.e. I'm porting some init scripts
> from gentoo, where the $SVCNAME variable identifies the init script name
> within the sc
Hi all, is there a function (or variable) I can use in a custom init
script that identifies the init script name? i.e. I'm porting some
init scripts from gentoo, where the $SVCNAME variable identifies the
init script name within the script itself...
d
/*
Davide Cittaro
Cogentech - Consor
8 matches
Mail list logo