ogb
This commit is contained in:
parent
7f146d222f
commit
38331c5ec7
@ -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
|
Loading…
x
Reference in New Issue
Block a user