Re: daemontools and mysqld

"Gary C. New" <[email protected]> Tue, 5 Sep 2006 16:47:35 -0700 (PDT)
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
#!/bin/sh
exec 2>&1
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


--- Paul Jarc <[email protected]> wrote:

> "Gary C. New" <[email protected]> wrote:
> > I have mysqld up and running using daemontools,
> but
> > when I try to shut it down or restart it (svc
> -d/-t)
> > it just hangs there with the message "want down."
> 
> What's in your run script?
> 
> 
> paul
>