diff --git a/sisr1/tp04_scripts_admin/script.sh b/sisr1/tp04_scripts_admin/script.sh deleted file mode 100644 index 8050ee3..0000000 --- a/sisr1/tp04_scripts_admin/script.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -filename=squid.conf #nom du fichier à récuperer -filepath=/etc/squid #chemin -servicename=squid.service #nom du service - - -git pull #mise a jour du depot distant - -sudo cp $filepath/$filename $filepath/$filename.old #sauvegarde en changeant le nom .old - -sudo cp ./$filename $filepath/$filename - -sudo systemctl restart $servicename #restart le service \ No newline at end of file