Update pleroma (bash script)
Script to update a pleroma instance following the steps comented in the pleroma wiki
Warning: this script works for my environment, but may not for yours. Check the user permissions and the assumptions below if they are valid to you.
- systemD init system
- executed as root
- needed for systemD service
- implies that .git/ folder will be owned by root
- pleroma in production environment