Move lemmy directory on server?

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

5 points · 4 comments · view on lemmy.world

4 Comments

szeraax@lemmy.dcrich.net · 3 pts · 3y (3 replies)

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 (2 replies)

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 (1 reply)

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.