Jakub Man | 67527f8 | 2021-02-04 12:36:25 +0100 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | mkdir -p /data/db 2>/dev/null |
| 4 | mongod --fork --logpath /var/log/mongod.log |
| 5 | |
Jakub Man | d521d6b | 2021-02-09 22:07:27 +0100 | [diff] [blame^] | 6 | service nginx restart |
Jakub Man | 67527f8 | 2021-02-04 12:36:25 +0100 | [diff] [blame] | 7 | netopeer2-server |
Jakub Man | d521d6b | 2021-02-09 22:07:27 +0100 | [diff] [blame^] | 8 | #uwsgi --http 127.0.0.1:5555 --http-websockets --master --wsgi-file /var/www/liberouter-gui/backend/wsgi.py --callable application --processes 4 --threads 2 --stats 127.0.0.1:9191 > tmp/uwsgi.log |
| 9 | python3 /var/www/liberouter-gui/backend |
Jakub Man | 67527f8 | 2021-02-04 12:36:25 +0100 | [diff] [blame] | 10 | |
| 11 | # Keep the container running |
| 12 | while [ 1 ]; do |
| 13 | sleep 30 |
| 14 | done |