[systemd-devel] PgSQL, MySQL systemd services - how to rewrite complex init scripts?
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
> >> 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,
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the systemd-devel