Re: daemontools and mysqld

"Gary C. New" <[email protected]> Tue, 5 Sep 2006 17:08:05 -0700 (PDT)
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
From the MySQL Docs it appears it should interpret the
SIGTERM appropriatly.

http://dev.mysql.com/doc/refman/4.1/en/server-shutdown.html


Gary


--- "Gary C. New" <[email protected]> wrote:

> They are actually all on the same line.
> 
> I am not sure what MySQL says about SIGTERM.  I'll
> look into it.
> 
> 
> Gary
> 
> 
> --- Paul Jarc <[email protected]> wrote:
> 
> > "Gary C. New" <[email protected]> wrote:
> > > exec /usr/bin/envuidgid mysql
> > > /usr/local/mysql/bin/mysqld
> > >
> --defaults-extra-file=/usr/local/mysql/data/my.cnf
> > > --basedir=/usr/local/mysql
> > --datadir=/home/mysql/data/
> > > --user=mysql
> > > --pid-file=/usr/local/mysql/data/localhost.pid
> > > --skip-locking
> > 
> > Are these actually separate lines in your script,
> or
> > is it one line
> > and your email program wrapped it?  You can split
> it
> > onto separate
> > lines in the script, but you have to add "\" at
> the
> > end of each line
> > other than the last.
> > 
> > What does mysqld's documentation say about how it
> > responds to SIGTERM?
> > That's what supervise sends when you run "svc -d".
> > 
> > 
> > paul
> > 
> 
>