typo block code
This commit is contained in:
parent
cbcd8548d7
commit
8a5305c6fc
|
@ -217,15 +217,15 @@ Si vous obtenez l'erreur `Missing project All-Projects`, il faudra peut-être su
|
|||
|
||||
Il faut copier le script `gerrit.sh` qui est compatible « script d'init ».
|
||||
|
||||
{{{
|
||||
```
|
||||
# install -m 700 -o root -g root /home/gerrit/bin/gerrit.sh /etc/init.d/gerrit
|
||||
}}}
|
||||
```
|
||||
|
||||
Puis créer `/etc/default/gerritcodereview`.
|
||||
|
||||
{{{
|
||||
```
|
||||
# echo "GERRIT_SITE=/home/gerrit" >> /etc/default/gerritcodereview
|
||||
}}}
|
||||
```
|
||||
|
||||
On pourra ensuite activer le script d'init, et faire les actions `{start|stop|restart|check|status|run|supervise|threads}`.
|
||||
|
||||
|
@ -295,10 +295,10 @@ Une fois passé cette authentification, Gerrit lui-même rapatrie les informatio
|
|||
|
||||
On peut surveiller avec Nagios la bonne réponse de l'interface web, et la disponibilité du serveur SSH embarqué. Par exemple avec NRPE.
|
||||
|
||||
{{{
|
||||
```
|
||||
command[check_gerrit_http]=/usr/lib/nagios/plugins/check_http -H localhost -p 8081
|
||||
command[check_gerrit_ssh]=/usr/lib/nagios/plugins/check_ssh -p 29418 localhost
|
||||
}}}
|
||||
```
|
||||
|
||||
# Créer un utilisateur Gerrit via SSH
|
||||
|
||||
|
|
Loading…
Reference in a new issue