home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 14 Feb 2020 23:35:50 +0000 (00:35 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 14 Feb 2020 23:35:50 +0000 (00:35 +0100)
buster/setup_scripts/migrate_app.sh

index 3be68704f87c915162752ab6df3b165723245c21..cda12f564a010c764eff894b438b17f1ee8b6834 100755 (executable)
@@ -14,10 +14,10 @@ server_ip="$1"
 app="$2"
 if [ "${app}" = "pleroma" ]; then
     db_name="pleroma"
-    dirs="/var/www/peertube/storage /var/www/peertube/config"
+    dirs="/var/lib/pleroma/uploads /etc/pleroma"
 elif [ "${app}" = "peertube" ]; then
     db_name="peertube_prod"
-    dirs="/var/lib/pleroma/uploads /etc/pleroma"
+    dirs="/var/www/peertube/storage /var/www/peertube/config"
 fi
 
 config_tree_prefix="${HOME}/config/buster"