aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
71 stars 42 forks source link

At boot time, a CBRAIN app should touch() some filesystem config dirs and files #1282

Open prioux opened 1 year ago

prioux commented 1 year ago

Some Bourreaux systems are configured with disk allocations where files older than N days are erased automatically.

To prevent such system from deleting the top-level directories for the DP_Cache, and some cbrain-specific admin files, I suggest that part of the boot process should touch them to reset their timestamps.

On a portal or bourreau:

On a bourreau: