Implement start-up scripts
When the industrial PC starts, needs to:
- Setup ethercat
- Start the controller
- Start the web server
On SPC:
-
Setup static interface for connection with IPC -
Setup connection with internet -
Configure syslog on SPC as from README and check if logs are properly stored, finally update README -
Run logmailer.py and check if working and update it -
Make logmailer.py running as a service on startup -
Setup database mysql to receive data from IPC
On IPC:
-
Setup database connection to send: * On SPC if available -
Handle the unavailability of SPC - [x] Store on IPC (locally) if not - [x] Dump data stored on IPC to SPC (when newly available)