falconindy/systemd-arch-units — pull request #114 by devkral (2012-03-03 03:15:08+00:00)
Title: add PIDfoldcreat - a tool for solving problems with /run subfolders

Often you need to creat subfolders beyond /run with write permission for a daemon because the daemon is badly written.
Mostly you need just the username (e.g. prosody) the daemon use to find the subfolder.
This is the default mode of my script but of course you can define an other folder with a second argument.

As far as I can see this script is the only sane solution to deal with subfolders if you can't use tmpfiles.
Maybe I will rewrite it in c or c++ for more speed.