On Fri, 22 Aug 2014, Joe M wrote:

> Hello,
> 
> Just wanted to check regarding this. Is there an equivalent command
> of "telinit u" for runit?

runit has no equivalent of /etc/inittab, so there is no equivalent 
command.

> I maintain a read-only root filesystem and when there is any upgrade,
> the old file (runit-init or runsv) is still used (lsof shows the file
> having been deleted but still used by the said process). telinit u
> reloads the init with the new file. Just wanted to check how that
> would work with runit.

What are you trying to achieve?

If you kill all the runsv processes, then new runsv processes will be 
created by runsvdir. But the dying runsv processes will probably kill the 
service that they are supervising, and if there is a 'down' file, then the 
new runsv processes will not start the new service via the 'run' file. 
[Read the 'man' pages and you will learn all the facts I mentioned.]

If you have a read-only root filesystem, what does "when there is any 
upgrade" mean?

I think you will need to be satisfied with leaving the old runsv processes 
running, or will need to reboot. 

> 
> Thanks
> Joe
> 

Reply via email to