From: Daniel Weismüller Date: Wed, 16 Apr 2014 14:28:01 +0000 (+0200) Subject: owncloud: moved datadir to /var/owncloud/data X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;ds=sidebyside;h=bccb7c5e482801bc4e39a4ff170ffd1b84cb5808;p=people%2Fteissler%2Fipfire-2.x.git owncloud: moved datadir to /var/owncloud/data --- diff --git a/config/rootfiles/packages/owncloud b/config/rootfiles/packages/owncloud index 67324996c..3c96673d4 100644 --- a/config/rootfiles/packages/owncloud +++ b/config/rootfiles/packages/owncloud @@ -6190,3 +6190,5 @@ srv/web/owncloud #srv/web/owncloud/themes/README #srv/web/owncloud/upgrade.php var/ipfire/backup/addons/includes/owncloud +#var/owncloud +#var/owncloud/data diff --git a/lfs/owncloud b/lfs/owncloud index 2e591b487..f36790eb4 100644 --- a/lfs/owncloud +++ b/lfs/owncloud @@ -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 diff --git a/src/paks/owncloud/install.sh b/src/paks/owncloud/install.sh index 8c5b8b950..1a39ef94d 100644 --- a/src/paks/owncloud/install.sh +++ b/src/paks/owncloud/install.sh @@ -23,8 +23,8 @@ # . /opt/pakfire/lib/functions.sh extract_files -mkdir /srv/web/owncloud/data -chown -R nobody:nobody /srv/web/owncloud/* +mkdir /var/owncloud/data +chown -R nobody:nobody /var/owncloud/* chmod 777 /srv/web/owncloud/apps chmod 777 /srv/web/owncloud/config