As I remember , for procd service instances to run it should be part of the /etc/init.d/ directory in the rootfs , my question is can we build a procd services dynamically based on the certain sceanrios , can we time or change the order of execution of the dynamic service we decide to launch ?
You can write some code which would dynamically generate your service files, put them in /etc/init.d/, run service <your_service> enable
, service <your_service> start
. If you are asking about built-in facility to do this sort of thing then I don't think it exists.
2 Likes