[systemd-devel] PgSQL, MySQL systemd services - how to rewrite complex init scripts?
Mirco Tischler
mt-ml at gmx.de
Sat Apr 9 11:18:30 PDT 2011
2011/4/9 Michał Piotrowski <mkkp4x4 at gmail.com>
> >> Have you considered using a file in /etc/tmpfiles.d and let syBstemd
> take
> >> care of this?
> >>
> >> Mirco
> >>
> >
> > No, but I think that this is a good idea. Thanks!
>
> >>
> Hmmm... but what if I want to change default dir? I use /home/data/
> instead of /var/lib/pgsql and /var/lib/mysql
>
>
> --
> Best regards,
> Michal
>
Does mysql really try to create the data dir on every start if it doesn't
exist? This sounds flawed to me.
If the data dir doesn't exist it's likely there is a bigger problem.
I thought we were talking about pid or lockfiles, which might reside on a
tmpfs.
Thanks, Mirco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110409/ea5db1a2/attachment.html>
More information about the systemd-devel
mailing list