Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2007
I have a requirement to design a state manager which has to take care of starting and stopping of process whenever there is state change at the device level.
1. Would using run-levels be appropriate solution so that we define for each runlevel what process has to run ?
2. Can we create user defined run-levels ?
1. Just have a state manager which will broadcast the messages whenever there is a state change.
So you want to start/stop a process when the device state changes? Create a daemon that listens to the device state to change, then once it does, it can execute whatever you want it to. If I am understanding your question correctly, runlevels don't have much to do with this.