<div class="gmail_quote">2011/4/9 Micha³ Piotrowski <span dir="ltr"><<a href="mailto:mkkp4x4@gmail.com">mkkp4x4@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div class="h5">
>> Have you considered using a file in /etc/tmpfiles.d and let syBstemd take<br>
>> care of this?<br>
>><br>
>> Mirco<br>
>><br>
><br>
> No, but I think that this is a good idea. Thanks!<br>
<br>
</div></div>>><br>Hmmm... but what if I want to change default dir? I use /home/data/<br>
instead of /var/lib/pgsql and /var/lib/mysql<br>
<div><div></div><div class="h5"><br>
<br>
--<br>
Best regards,<br>
Michal<br></div></div></blockquote><div>Does mysql really try to create the data dir on every start if it doesn't exist? This sounds flawed to me.<br>If the data dir doesn't exist it's likely there is a bigger problem.<br>
I thought we were talking about pid or lockfiles, which might reside on a tmpfs.<br><br>Thanks, Mirco<br></div></div>