On Mon, Jul 22, 2024 at 10:12 AM Charles Curley
<charlescur...@charlescurley.com> wrote:
>
> On Mon, 22 Jul 2024 20:07:38 +0800
> cor...@free.fr wrote:
>
> > I found that after I rebooted the system, the dir /var/run/***
> > disappeared.
>
> As others have pointed out, stuff in /var/run is supposed to disappear
> on reboot.
>
> > I put my app's web sessions under /var/run. so they got lost.
> > Is there an effective tool to manage /var/run dirs?
>
> Given the above, a more fruitful question might be, where should I put
> my session data?

++.

For coreyh, here is the link to Linux Filesystem Hierarchy, v3:
<https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.pdf>. And here
is Wikipedia's page digesting it:
<https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard>. The
documents discuss where various bits should go, including 11 pieces
for various /var locations.

> To which I would reply, what's wrong with where your
> web server put them before you changed it?

++.

Jeff

Reply via email to