mastodon/check_services.sh
Baptiste Lemoine b3c8105a52 added update scripts for dev and prod envs
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-02-12 10:02:59 +01:00

14 lines
353 B
Bash

#!/bin/bash
echo "########## time to check the services, this script must be run with an user able to manage services, someone with sudo rights for example"
sudo service postgresql status
sudo service mastodon-* status
echo "########## run:
sudo service mastodon-* restart
and check that everything is working fine
sudo journalctl -feu mastodon-*
"