aboutsummaryrefslogtreecommitdiff
path: root/automatisation
diff options
context:
space:
mode:
Diffstat (limited to 'automatisation')
-rwxr-xr-xautomatisation/BDDAuto.sh2
-rwxr-xr-xautomatisation/apacheAuto.sh6
-rwxr-xr-xautomatisation/deploi.sh6
3 files changed, 7 insertions, 7 deletions
diff --git a/automatisation/BDDAuto.sh b/automatisation/BDDAuto.sh
index dd858ff..902d1dc 100755
--- a/automatisation/BDDAuto.sh
+++ b/automatisation/BDDAuto.sh
@@ -2,7 +2,7 @@
#cloner dans le repertoire personnel du root
#executer en tant que root
-cp /root/ATS-Project/www/html/init-bd.sql /tmp/table.sql #Car problème de droit root
+cp /root/ATS/www/html/init-bd.sql /tmp/table.sql #Car problème de droit root
apt install postgresql
diff --git a/automatisation/apacheAuto.sh b/automatisation/apacheAuto.sh
index 66d4e05..456ba49 100755
--- a/automatisation/apacheAuto.sh
+++ b/automatisation/apacheAuto.sh
@@ -3,10 +3,10 @@
apt install apache2 libapache2-mod-python python-psycopg2
-cp -rv /root/ATS-Project/www /var/
+cp -rv /root/ATS/www /var/
-cp -rv /root/ATS-Project/www/server-config/apache2 /etc/
+cp -rv /root/ATS/www/server-config/apache2 /etc/
-cp -rv /root/ATS-Project/www/server-config/ssl /etc/
+cp -rv /root/ATS/www/server-config/ssl /etc/
systemctl restart apache2
diff --git a/automatisation/deploi.sh b/automatisation/deploi.sh
index eb5beee..b72eecd 100755
--- a/automatisation/deploi.sh
+++ b/automatisation/deploi.sh
@@ -2,8 +2,8 @@
apt install tcpdump
-./ATS-Project/automatisation/BDDAuto.sh
+./ATS/automatisation/BDDAuto.sh
-./ATS-Project/automatisation/apacheAuto.sh
+./ATS/automatisation/apacheAuto.sh
-./ATS-Project/analyse/script.sh
+./ATS/analyse/script.sh