You are not logged in.

#1 2022-11-03 01:59:48

Deviner
Member
Registered: 2022-09-29
Posts: 9

[SOLVED] files removed from /run directory

Hello,

I need to keep a file in a /run folder but after each reboot of the system I don't see it there.
1. How to keep the file in /run over reboots
2. I need that file to be launched by a .service. Maybe there is a better directory for that?

Thank you

Last edited by Deviner (2022-11-03 02:47:41)

Offline

#2 2022-11-03 02:33:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] files removed from /run directory

1. You don't, /run isn't a persistent filesystem in any way.
2. Sounds like you're looking for /usr/local/?

Offline

#3 2022-11-03 02:47:28

Deviner
Member
Registered: 2022-09-29
Posts: 9

Re: [SOLVED] files removed from /run directory

Thank you, I'll look into /usr/local

Offline

Board footer

Powered by FluxBB