22
0
Fork 0

Emplacement de la commande unbound-checkconf pour unbound-adblock

This commit is contained in:
jdubois 2020-09-24 17:45:17 +02:00
parent e67f072b12
commit c626e108f2
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ Sous Debian ou OpenBSD :
* Télécharger le script : `wget https://geoghegan.ca/pub/unbound-adblock/0.4/unbound-adblock.sh`
* Créer un utilisateur "_adblock" : `useradd -s /sbin/nologin _adblock`
* Installer le script avec les permissions appropriées : `install -m 755 -o root -g bin unbound-adblock.sh /usr/local/bin/unbound-adblock.sh`
* Apporter une correction au script pour préciser l'emplacement de la commande unbound-checkconf : `sed -i "s/^unbound-checkconf/\/usr\/sbin\/unbound-checkconf/" /usr/local/bin/unbound-adblock.sh`
* Créer le fichier "/etc/unbound/adblock.conf" :
* Sous Debian : `install -m 640 -o _adblock /dev/null /etc/unbound/adblock.conf`
* Sous OpenBSD : `install -m 640 -o _adblock -g wheel /dev/null /var/unbound/etc/adblock.conf`