[systemd-devel] systemd - cleaning of /var/run/

Hajo Locke Hajo.Locke at gmx.de
Tue Sep 27 10:58:40 UTC 2016


Hello,

Am 27.09.2016 um 12:25 schrieb Reindl Harald:
>
>
> Am 27.09.2016 um 12:22 schrieb Hajo Locke:
>> When restarting mysql, then folder /var/run/mysqld is deleted and
>> recreated. Result is that every mounted folder is loosing his content,
>> because "mount --bind" does not find its source any more.
>
> then don't use RunTimeDirectory in your mysqld-unit instead 
> /etc/tmpfiles.d which would create the folder at boot
thanks, that seems to work.
>
> systemd just does what you told it
thats true, but i did not realize what i told ;)
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Thanks,
Hajo


More information about the systemd-devel mailing list