My startup script from rc.local is not being executed. When I check the status of the service that runs rc.local, it gives me the following errors.
The rc.local script contents do not have any errors. I validated this by running sudo sh -x /etc/rc.local . This returned no errors
sudo systemctl status rc-local.service gives the following output
Any help with this will be greatly appreciated.● rc-local.service - /etc/rc.local Compatibility
Loaded: loaded (/etc/systemd/system/rc-local.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-08-14 20:39:00 IST; 1min 8s ago
Aug 14 20:39:00 ganga-cm3 systemd: rc-local.service: Failed at step STDOUT spawning /etc/rc.local: No such device
Aug 14 20:39:00 ganga-cm3 systemd: Starting /etc/rc.local Compatibility...
Aug 14 20:39:00 ganga-cm3 systemd: rc-local.service: Control process exited, code=exited, status=209/STDOUT
Aug 14 20:39:00 ganga-cm3 systemd: rc-local.service: Failed with result 'exit-code'.
Aug 14 20:39:00 ganga-cm3 systemd: Failed to start /etc/rc.local Compatibility.
Aug 14 20:40:05 ganga-cm3 systemd: /etc/systemd/system/rc-local.service:10: Support for option SysVStartPriority= has been removed and it is ignored