[systemd-devel] runtime directories for services vs. tmpfiles

Michael Biebl mbiebl at gmail.com
Mon Jul 15 18:26:50 PDT 2013


2013/7/16 Michael Biebl <mbiebl at gmail.com>:
> For system services needing a runtime directory, we basically have two
> (three) options nowadays
> 1/ use ExecStartPre=/usr/bin/mkdir /var/run/foo
> 2/ use a tmpfile snippet
> (3/ let the daemon create the runtime directory itself)
>
> In [1] we recommended the the usage of 1/ over 2/.

Bah, sorry for the confusion: I meant 2/ over 1/. I.e. we recommended
to use a tmpfiles snippet over ExecStartPre


More information about the systemd-devel mailing list