3.11. Software Collection /var/run/ Files Support

PID files are one example of files usually located underneath the /var/run/package_name/ directory. When packaging PID files into your Software Collection, you are advised to use the nfsmountable macro and store the PID files in the following directory:
/var/run/software_collection-package_name/
where software_collection is the name of your Software Collection and package_name is the name of the package included in your Software Collection.
Following this naming convention avoids file conflicts with the base system installation, while it makes it possible for your Software Collection to use /var/run/ features, for example the tmpfs file system for PID files.
For more information on using the nfsmountable macro, see Section 3.1, “Using Software Collections over NFS”.