Remove sudo in manage.sh

This commit is contained in:
BBaoVanC 2021-07-31 17:25:17 -05:00
parent e18e73f84a
commit 0c474a7a8c

View File

@ -10,7 +10,7 @@ case "$1" in
shift
case "$1" in
sh)
sudo docker-compose exec borgmatic sh
docker-compose exec borgmatic sh
;;
*)
echo "You have to choose a subcommand too, dummy."
@ -20,14 +20,14 @@ case "$1" in
logs)
shift
sudo docker-compose logs -f --tail=0
docker-compose logs -f --tail=0
;;
postgres)
shift
case "$1" in
bash)
sudo docker-compose exec postgres bash
docker-compose exec postgres bash
;;
*)
echo "You have to choose a subcommand too, dummy."
@ -37,7 +37,7 @@ case "$1" in
psql)
shift
sudo docker-compose exec postgres psql -U synapse -d synapsedb $@
docker-compose exec postgres psql -U synapse -d synapsedb $@
;;
*)