-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun.sh
More file actions
executable file
·41 lines (25 loc) · 1.1 KB
/
run.sh
File metadata and controls
executable file
·41 lines (25 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
# This file is a part of quicksave project.
# Copyright 2017 Aleksander Gajewski <adiog@quicksave.io>.
cd $(dirname $0)
echo "ACHTUNG!: screen in the background will run sudo command"
echo " either start processes manually or put a NOPASSWD: into sudoers file"
docker network rm network_quicksave_docker
docker network create network_quicksave_docker
screen -d -m -S qs-audit bash -l -c bin/spawn_audit.sh
screen -d -m -S qs-www bash -l -c docker/www/docker.run.sh
screen -d -m -S qs-memcached bash -l -c docker/memcached/docker.bootstrap.sh
screen -d -m -S qs-memadmin bash -l -c docker/memadmin/docker.run.sh
screen -d -m -S qs-rabbitmq bash -l -c docker/rabbitmq/docker.bootstrap.sh
sleep 10
screen -d -m -S qs-storage bash -l -c docker-cpp/0-storage.sh
sleep 5
screen -d -m -S qs-async bash -l -c docker/async/docker.run.sh
sleep 5
screen -d -m -S qs-api bash -l -c docker-cpp/0-api.sh
screen -d -m -S qs-cdn bash -l -c docker-cpp/0-cdn.sh
screen -d -m -S qs-oauth bash -l -c docker-cpp/0-oauth.sh
sleep 5
screen -d -m -S qs-post bash -l -c docker-cpp/0-post.sh
sleep 3
screen -ls