Skip to content
Snippets Groups Projects
Commit f4498785 authored by Bob Mottram's avatar Bob Mottram
Browse files

Setting title

parent 5ae8b628
No related branches found
No related tags found
No related merge requests found
......@@ -240,6 +240,8 @@ function pleroma_set_title {
write_config_param "PLEROMA_TITLE" "$PLEROMA_TITLE"
cd /var/www/$PLEROMA_DOMAIN_NAME/htdocs/static
sed -i "s|\"name\":.*|\"name\": \"${PLEROMA_TITLE}\",|g" config.json
sed -i "s|name: .*|name: \"${PLEROMA_TITLE}\",|g" $PLEROMA_DIR/config/config.exs
systemctl restart pleroma
dialog --title $"Set Pleroma title" \
--msgbox $"The title has been set" 6 60
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment