bobinou / iss-domo

Convert ISS Imperihome to Domoticz / Freebox / XBMC / Jeedom
https://plus.google.com/communities/113236981415459933411
9 stars 4 forks source link

Impossible de lancer Iss-domo automatiquement au demarrage de raspbian pixel sur pi3 #19

Open oxedgar opened 7 years ago

oxedgar commented 7 years ago

Bonjour,

Je ne parviens pas a lancer issdomo automatiquement au demarrage de mon raspberry pi 3.

La precedure d'installation s'est correctement deroulee! Voici ce que dit status:

i@raspberrypi:/var/www $ sudo service iss-domo.sh status ? iss-domo.service - LSB: Convert ISS Imperihome to Domoticz Loaded: loaded (/etc/init.d/iss-domo.sh) Active: active (exited) (Result: exit-code) since dim 2017-01-22 22:03:19 CET; 40min ago Process: 9198 ExecStop=/etc/init.d/iss-domo.sh stop (code=exited, status=1/FAILURE) Process: 9433 ExecReload=/etc/init.d/iss-domo.sh reload (code=exited, status=1/FAILURE) Process: 9287 ExecStart=/etc/init.d/iss-domo.sh start (code=exited, status=0/SUCCESS)

jan 22 22:03:19 raspberrypi systemd[1]: Started LSB: Convert ISS Imperihome to Domoticz. jan 22 22:03:31 raspberrypi systemd[1]: Reloading LSB: Convert ISS Imperihome to Domoticz. jan 22 22:03:31 raspberrypi iss-domo.sh[9338]: Stopping system iss-domo.sh Daemon:. jan 22 22:03:31 raspberrypi iss-domo.sh[9338]: Starting system iss-domo.sh Daemon:. jan 22 22:03:31 raspberrypi systemd[1]: Reloaded LSB: Convert ISS Imperihome to Domoticz. jan 22 22:03:44 raspberrypi systemd[1]: Reloading LSB: Convert ISS Imperihome to Domoticz. jan 22 22:03:44 raspberrypi iss-domo.sh[9433]: Stopping system iss-domo.sh Daemon: jan 22 22:03:44 raspberrypi systemd[1]: iss-domo.service: control process exited, code=exited status=1 jan 22 22:03:44 raspberrypi systemd[1]: Reload failed for LSB: Convert ISS Imperihome to Domoticz. jan 22 22:08:03 raspberrypi systemd[1]: Started LSB: Convert ISS Imperihome to Domoticz.

Warning: Unit file changed on disk, 'systemctl daemon-reload' recommended.

Si quelqun peut aider carje ne trouve pas de solution.

oxedgar commented 7 years ago

j'ai essayé d'ajouter ceci a rc.local mais ça ne marche pas:

cd /var/www/iss-domo/

php artisan serve --host 192.168.55.50 &

puis aussi avec ceci:

sudo service iss-domo.sh start
sudo service iss-domo.sh stop
sudo service iss-domo.sh start
sudo service iss-domo.sh restart

Visiblement, aucune de ces commandes ne le fait démarrer! Cependant, la commande manuelle après le boot du Pi fonctionne!