I currently have an executable file, which is the program I am developping, in C. It loads a configuration file - depending on which it will have a certain behaviour. This was tested, and works when I launch it from a shell.
However I want it to be started with the system, and as such I made a service for it. This service simply launches my executable on startup.
When doing so, the program will always have the default behaviour, as if the file was ignored.
Is there a reason why this would happen? My current guess is that the program could be starting while the files aren't ready to be accessed for some reason (as my program writes on the framebuffer, as intended, long before an user can log into the system via serial ports).
I have no idea if this is correct, and how to fix it anyway. Thanks in advance.