Modifications

Sauter à la navigation Sauter à la recherche
184 octets ajoutés ,  2 avril 2017 à 14:37
Ligne 88 : Ligne 88 :  
Depuis Raspbian Jessie, System 5 (mode de démarrage du système) à été remplacé par SystemD. Vous trouverez ci-dessous des informations traduites depuis le lien [http://nodered.org/docs/hardware/raspberrypi "Adding Autostart capability using SystemD"] (''nodered.org, anglais'')
 
Depuis Raspbian Jessie, System 5 (mode de démarrage du système) à été remplacé par SystemD. Vous trouverez ci-dessous des informations traduites depuis le lien [http://nodered.org/docs/hardware/raspberrypi "Adding Autostart capability using SystemD"] (''nodered.org, anglais'')
   −
The preferred way to autostart Node-RED on Pi is to use the built in systemd capability. The pre-installed version does this by using a {{fname|nodered.service}} file and start and stop scripts. You may install these by running the following commands
+
Vous pouvez démarrer automatiquement Node-RED sur un Pi en utilisant SystemD. Il est possible de démarrer et arrêter le service en utilisant le fichier {{fname|nodered.service}} et les scripts de démarrage et arrêt (''start'' et ''stop''):
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Ligne 98 : Ligne 98 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
Info: These commands are run as root (sudo) - They download the three required files to their correct locations, make the two scripts executable and then reload the systemd daemon.
+
Info: ces commandes sont exécutées en "root" à l'aide de {{fname|sudo}} permettent de télécharger les 3 fichiers requis en les plaçant au bon endroit, rendre les scripts exécutables et recharger le deamon de systemd.
   −
Node-RED can then be started and stopped by using the commands {{fname|node-red-start}} and {{fname|node-red-stop}} (voyez le point précédent pour plus d'informations)
+
Node-RED peut alors être démarré et arrêté en utilisant les commandes {{fname|node-red-start}} et {{fname|node-red-stop}} (voyez le point précédent pour plus d'informations)
   −
To then enable Node-RED to run automatically at every boot and upon crashes
+
Ensuite, pour activer le démarrage automatique de Node-RED à chaque démarrage de votre Pi (ou crash)
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Ligne 108 : Ligne 108 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
It can be disabled by
+
Et vous pouvez désactiver la fonctionnalité en utilisant
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Ligne 114 : Ligne 114 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
Systemd uses the {{fname|/var/log/system.log}} for logging. To filter the log use
+
Systemd utilise le fichier {{fname|/var/log/system.log}} pour logging. Vous pouvez utiliser la commande suivante '''pour filtrer les entrées''' du log:
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Ligne 120 : Ligne 120 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
Il est également possible de modifier l'environnement de systemd et utiliser un proxy. Voyez ce [http://nodered.org/docs/hardware/raspberrypi lien dans la documentation de nodered.org].
+
Il est également possible de modifier l'environnement de SystemD et utiliser un proxy. Voyez ce [http://nodered.org/docs/hardware/raspberrypi lien dans la documentation de nodered.org].
    
== Mise-à-jour de Node-Red ==
 
== Mise-à-jour de Node-Red ==
29 917

modifications

Menu de navigation