3 ms·
Is there a easy/non hacky way to configure /tmp to only delete files on regular shutdown? I sometimes have the occasional crash, and have been bitten by doing s
by camel-cdr 2y ago
Is there a easy/non hacky way to configure /tmp to only delete files on regular shutdown? I sometimes have the occasional crash, and have been bitten by doing some temporary work in /tmp before such a crash 2-3 times.
- silisili 2y agoYou could do this pretty easily I think with systemd, it has a shutdown target that covers reboots and poweroffs. It would of course meaning not having tmp in RAM which is pretty common these days.