init problem. task returns status7
I am running SuSE 8.0 and I have written an LCD display driver task which works fine.
I want the task to run at startup so I added it to the run level 3 startup. (intd/rc3). The task does start and run ok but the log says that the task start failed with "status 7".
I think that the startup wanted a return/completion code from the task (PID?). As I am really starting a daemon should my task be modified to fork itself and then die?
Following on from this; I want to start and run a Python task at system startup for an unmanned data collection system. If I log in and run the Python is fine but I want it to run automatically al lthe time. Since no-one will be logging into the system where do I put the startup command/shell script?
|