Remove sudo in manage.sh
This commit is contained in:
parent
e18e73f84a
commit
0c474a7a8c
@ -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 $@
|
||||
;;
|
||||
|
||||
*)
|
||||
|
Reference in New Issue
Block a user