Add command to control synapse processes only in manage.sh
This commit is contained in:
parent
036f8697ab
commit
b5adfef2df
19
manage.sh
19
manage.sh
@ -40,6 +40,25 @@ case "$1" in
|
|||||||
docker-compose exec postgres psql -U synapse -d synapsedb $@
|
docker-compose exec postgres psql -U synapse -d synapsedb $@
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
synapses)
|
||||||
|
shift
|
||||||
|
case "$1" in
|
||||||
|
stop)
|
||||||
|
docker-compose stop synapse generic1 generic2 generic3 generic4 sender1 sender2 sender3 sender4
|
||||||
|
;;
|
||||||
|
|
||||||
|
start)
|
||||||
|
docker-compose start synapse generic1 generic2 generic3 generic4 sender1 sender2 sender3 sender4
|
||||||
|
;;
|
||||||
|
|
||||||
|
restart)
|
||||||
|
docker-compose restart synapse generic1 generic2 generic3 generic4 sender1 sender2 sender3 sender4
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "You have to choose a subcommand too, dummy."
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "You have to choose a command, dummy."
|
echo "You have to choose a command, dummy."
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user