owncloud: moved datadir to /var/owncloud/data

This commit is contained in:
Daniel Weismüller
2014-04-16 16:28:01 +02:00
committed by Michael Tremer
parent ac50b81ee4
commit bccb7c5e48
3 changed files with 6 additions and 3 deletions

View File

@@ -86,7 +86,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
done <<< "$$(find /srv/web/owncloud | grep ' ')"
# Create data directory
mkdir -pv /srv/web/owncloud/data
mkdir -pv /var/owncloud/data
ln -s /var/owncloud/data /srv/web/owncloud/data
# Make sure everything is owned by root, except...
chown -R root.root /srv/web/owncloud