From 38331c5ec77a5b2c593cc7f63efe7b9440b5d567 Mon Sep 17 00:00:00 2001 From: Tom Guerin Date: Wed, 26 Mar 2025 15:42:16 +0100 Subject: [PATCH] ogb --- sisr1/tp04_scripts_admin/script.sh | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 sisr1/tp04_scripts_admin/script.sh 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