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

Reindl Harald h.reindl at thelounge.net
Tue Sep 27 10:25:49 UTC 2016



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

systemd just does what you told it


More information about the systemd-devel mailing list