Is it safe to move the /svr/lemmy/ directory to a new location on the same server? Or is the directory hard coded into different places? Thanks
Is it safe to move the /svr/lemmy/ directory to a new location on the same server? Or is the directory hard coded into different places? Thanks
4 Comments
szeraax@lemmy.dcrich.net · 3 pts · 3y
Are you talking about a docker setup? if so, yes, as long as you update your bind mount to the new location. If manual install, I would think that you'd have to either leave it in place or find what references that location and update it as well.
kiwi@kale.social · 2 pts · 3y
Ah got it. Yes, Im using docker compose but setup through ansible. Sounds like I just need to update the bind mount then. Thanks
szeraax@lemmy.dcrich.net · 3 pts · 3y
yup.
kiwi@kale.social · 1 pts · 3y
Turns out docker is configured to reference everything though relative paths. I just needed to move the directory and everything kept working.