X3n0m0rph59 / precached

Precached - A Linux process monitor and pre-caching daemon
https://x3n0m0rph59.gitlab.io/precached/
GNU General Public License v3.0
13 stars 0 forks source link

create directories at install #23

Open idnovic opened 5 years ago

idnovic commented 5 years ago
/var/run/precached
/var/log/precached

I need the above directories created at install by the precached pkg. Not during runtime.

Reason is that the selinux confinement is set to restore the right context for these directories. But they are missing in the default install. /var/run/precached is only created at runtime.

idnovic commented 5 years ago

I fixed it locally by creating these direcotries per hand. But of course the systemd service removes the /var/run/precached folder after the service stopped. I would prefer a permanent folder.

idnovic commented 5 years ago

I know the log location is not currently used, but precached seems to provide this as a feature to write the log file in this (optional) location.