Server restart
-
I have had a power blackout this morning and mycontroller.org server doesn´t restart. Is it possible that the server automaticly restart after a reboot?
-
@Didi said:
I have had a power blackout this morning and mycontroller.org server doesn´t restart. Is it possible that the server automaticly restart after a reboot?
You have to add some script on startup to trigger
mycontroller/bin/start.sh
-
@jkandasa said:
You have to add some script on startup to trigger
mycontroller/bin/start.sh
I´m not so familiar with linux,maybe you can help me out?
-
@Didi said:
@jkandasa said:
You have to add some script on startup to trigger
mycontroller/bin/start.sh
I´m not so familiar with linux,maybe you can help me out?
@Didi Can you please post your linux flavor details?
-
I have Rasbian Jessy newest version.
-
@Didi said:
I have Rasbian Jessy newest version.
@Didi Add the following line in your
/etc/rc.local
/path/to/mycontroller/bin/start.sh
Reference: http://raspberrywebserver.com/serveradmin/run-a-script-on-start-up.html
-
Thank you
Suggested Topics
-
One Arduino with multiple functions
Hardware • 6 Apr 2014, 21:38 • A Former User 29 Apr 2014, 18:36 -
Cannot add Nodes trough RS 485
MyController.org • 22 Jul 2021, 08:57 • qobouky 2 Aug 2021, 04:04 -
Your suggestions to choose naming for "sensor" and "variable"
MyController.org • 10 Mar 2021, 03:19 • jkandasa 11 Mar 2021, 10:36 -
serial, Ethernet to MQTT
MyController.org • 14 Jun 2021, 09:38 • jkandasa 14 Jun 2021, 16:56 -
influxDB et Grafana
MyController.org • 3 Jan 2023, 15:42 • JeeLet 3 Jan 2023, 15:42 -
Connecting NodeMCU 1.0 Gateway to WiFi
MyController.org • 12 Jun 2023, 19:06 • wint0178 12 Jun 2023, 19:06