Erich Schubert | 2 Sep 2003 23:06
Picon
Favicon

Re: Runit scripts and mysql

> mysql must have clean "exit-on-signal and clean-on-exit" properties
> somewhere.  and how about postgres?

No, they do not. Intentionally it seems:

$ grep trap /usr/bin/mysqld_safe
trap '' 1 2 3 15                   # we shouldn't let anyone kill us

That is WHY i wrote that script and made that hack, trapping the signal
for them and sending them a shutdown they do understand...

Greetings,
Erich Schubert
--

-- 
    erich <at> (vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C    (o_
  A polar bear is a rectangular bear after a coordinate transform.   //\
  Wer keine Zeit mehr mit echten Freunden verbringt, der wird bald   V_/_
          sein Gleichgewicht verlieren. --- Michael Levine


Gmane