From f4d028e5414ab22fbb852d97d5ff460170d2f5bb Mon Sep 17 00:00:00 2001
From: Cyril Levis <git@levis.name>
Date: Mon, 23 Sep 2024 14:33:26 +0200
Subject: [PATCH] fix: add plugins in the image

---
 .docker/app/startup.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.docker/app/startup.sh b/.docker/app/startup.sh
index b035371fe..1eb1019a8 100644
--- a/.docker/app/startup.sh
+++ b/.docker/app/startup.sh
@@ -47,6 +47,14 @@ if [ -z $SKIP_RSYNC_ON_STARTUP ]; then
 		sudo -u app rsync -a --no-owner --delete \
 			$SRC_DIR/plugins.local/nginx_xaccel \
 			$DST_DIR/plugins.local/nginx_xaccel
+
+		sudo -u app rsync -a --no-owner --delete \
+			$SRC_DIR/plugins.local/mastodon \
+			$DST_DIR/plugins.local/mastodon
+
+		sudo -u app rsync -a --no-owner --delete \
+			$SRC_DIR/plugins.local/mailer_smtp \
+			$DST_DIR/plugins.local/mailer_smtp
 	fi
 else
 	echo "warning: working copy in $DST_DIR won't be updated, make sure you know what you're doing."
-- 
GitLab