I would like to run a webserver on my EasyOS and locate my website at /var/www/mysitedirectory but that obviously won't work unless I never reboot. I also don't necessarily want my cups logs to go away on reboot. Would doing this break other stuff related to how this distro was designed; ie containers?
Moving /var out of /tmp
Moderator: BarryK
Re: Moving /var out of /tmp
I could change /var so that it doesn't use /tmp, so everything in /var will persist across boots.
I think the original reasoning was that there is a lot of stuff that gets created in /var that is junk.
Or, it may be a security risk to persist.
Or, it may get very big.
Anyway, you can use /var/local or /var/lib, they will persist across boots.
Look at them, they are symlinks into /root
So, put your browser at /var/local/www, and everything is fine.