pleroma_ctl argument --static-dir
When generating the config.exs
using : su pleroma -s /bin/bash -lc '/var/www/pleroma/pleroma/bin/pleroma_ctl instance gen --force --output /etc/pleroma/config.exs --output-psql /tmp/setup_db.psql --domain test11.yh.yalh.net --instance-name "My_Pleroma" --admin-email yalh@yh01.yh.yalh.net --notify-email yalh@yh01.yh.yalh.net --dbhost localhost --dbname pleroma --dbuser pleroma --dbpass 8d8RlYMl1ZfieGy1nXh9UHcEeAK2YN --rum N --indexable Y --db-configurable Y --uploads-dir /home/yunohost.app/pleroma/storage/uploads --static-dir /home/yunohost.app/pleroma/storage/static --listen-ip 127.0.0.1 --listen-port 8095'
as written in the documentation https://docs-develop.pleroma.social/Mix.Tasks.Pleroma.Instance.html#module-options
There is an error:
589272 DEBUG Writing config to /etc/pleroma/config.exs.
589272 WARNING ** (File.Error) could not make directory (with -p) "/var/lib/pleroma/static": no such file or directory
So it seems that pleroma_ctl doesn't use the argument provided....