From 0c474a7a8c316f52440fd7faf424f81cdcaa9a90 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 31 Jul 2021 17:25:17 -0500 Subject: [PATCH] Remove sudo in manage.sh --- manage.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manage.sh b/manage.sh index ab5cef4..e559703 100755 --- a/manage.sh +++ b/manage.sh @@ -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 $@ ;; *)