Re: daemontools and mysqld

[email protected] (Paul Jarc) Tue, 05 Sep 2006 19:58:35 -0400
Newsgroups gmane.comp.djb.syslog
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
"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