I've got a nice init script I wrote for Ubuntu Server as well. I will
submit it when I get back in to the office.
-Michael
> On my (debian) system, the 'initlog' command doesn't exist, so this
> script prints out a lot of errors, and there are some issues with how
> 'kill' works.
>
> init.d scri
pher Hawkins
Cc: gluster-devel@nongnu.org
Subject: Re: [Gluster-devel] Init script
Weird, which version of RHEL? My RHEL4/5 machines have it (the
redhat-lsb package).
Maybe we need separate scripts per distribution anyway? Many debian
scripts of this sort have a corresponding file in /etc/def
Of
> Chris AtLee
> Sent: Tuesday, August 28, 2007 2:08 PM
> To: Anand Avati
> Cc: Christopher Hawkins; gluster-devel@nongnu.org
> Subject: Re: [Gluster-devel] Init script
>
> On my (debian) system, the 'initlog' command doesn't exist, so this
> script prints o
On my (debian) system, the 'initlog' command doesn't exist, so this
script prints out a lot of errors, and there are some issues with how
'kill' works.
init.d scripts are pretty hard to get working across multiple
distributions. The best way I know of is to only rely on commands in
/lib/lsb/init-
committed the script under extras/init.d/glusterfsd. Thanks a bunch!
avati
2007/8/3, Christopher Hawkins <[EMAIL PROTECTED]>:
>
> > Subject: Re: [Gluster-devel] Updated debian patch
> >
> >
> > > Chris,
> > > any patches you would want us to apply to the codebase (init.d
> > > script?) which mig
How widely supported are the functions in /lib/lsb/init-functions?
The start_daemon and killproc and logging functions would make writing
the init script much easier, and portable if that include is available
everywhere.
Cheers,
Chris
___
Gluster-deve