[CentOS] how to prevent files and directories from being deleted?

Wed Oct 4 08:53:59 UTC 2017
Gary Stainburn <gary at ringways.co.uk>

On Wednesday 04 October 2017 09:42:13 Anand Buddhdev wrote:
> There's no need to do that (and it's also messy). Instead, if a package
> needs a directory to exist in /var/run, then create your own config for
> systemd-tmpfiles, and drop it into /etc/systemd/tmpfiles.d. Work with
> CentOS 7, instead of fighting with it.
>
> Anand

I saw reference to system-tmpfs in Paul's post so I had a quick look. YUM 
doesn't seem to know about it, but I'm sure Google will help.