-su pleroma -s $SHELL -lc './bin/pleroma_ctl instance gen '\
- '--output /etc/pleroma/config.exs' \
- '--output-psql /tmp/setup_db.psql' \
- "--domain ${domain}" \
- '--instance-name plom-roma' \
- "--admin-email ${mail}" \
- "--notify-email ${mail}" \
- '--dbhost localhost' \
- '--dbname pleroma' \
- '--dbuser pleroma' \
- "--dbpass $(pwgen -s 100 1)" \
- '--rum N' \
- '--indexable N' \
- '--uploads-dir /var/lib/pleroma/uploads' \
- '--static-dir /var/lib/pleroma/static' \
- '--listen-ip 127.0.0.1' \
- '--listen-port 4000'
+su pleroma -s $SHELL -lc "./bin/pleroma_ctl instance gen \
+--output /etc/pleroma/config.exs \
+--output-psql /tmp/setup_db.psql \
+--domain ${domain} \
+--instance-name plom-roma \
+--admin-email ${mail} \
+--notify-email ${mail} \
+--dbhost localhost \
+--dbname pleroma \
+--dbuser pleroma \
+--rum N \
+--indexable N \
+--uploads-dir /var/lib/pleroma/uploads \
+--static-dir /var/lib/pleroma/static \
+--listen-ip 127.0.0.1 \
+--listen-port 4000 \
+--dbpass $(pwgen -s 100 1)"