diff --git a/start.sh b/Flask/start.sh similarity index 100% rename from start.sh rename to Flask/start.sh diff --git a/config.sh b/config.sh index d881116..0862baf 100644 --- a/config.sh +++ b/config.sh @@ -1,4 +1,4 @@ -echo "\n\nsetting up NGINX\n\n" +printf "\n\nsetting up NGINX\n\n" rm /etc/nginx/sites-available/default echo " @@ -35,14 +35,14 @@ server { } " >> /etc/nginx/sites-available/default -echo "\n\nNGINX configuration successfull\n\n" +printf "\n\nNGINX configuration successfull\n\n" service nginx restart -echo "\n\ncreating sqlite databases\n\n" +printf "\n\ncreating sqlite databases\n\n" sqlite3 /app/MsRewards-Reborn/MsRewards.db "CREATE TABLE daily (id INTEGER PRIMARY KEY,compte TEXT,points int,date TEXT);" sqlite3 /app/MsRewards-Reborn/MsRewards.db "CREATE TABLE comptes (id INTEGER PRIMARY KEY,compte TEXT,last_pts int, banned int);" -echo "\n\nconfigurating grafana\n\n" +printf "\n\nconfigurating grafana\n\n" cp /app/MsRewards-Reborn/grafana-config/grafana.ini /etc/grafana/ grafana-cli plugins install frser-sqlite-datasource @@ -62,5 +62,5 @@ curl 'http://192.168.1.32:5555/grafana/api/dashboards/import' \ --insecure -echo "setting up default dashboard" +printf "setting up default dashboard" cp /app/MsRewards-Reborn/grafana-config/Stats-dashbord.json /usr/share/grafana/public/dashboards/home.json \ No newline at end of file