Re: runit equivalent of "telinit u"

From: Charlie Brady <>
Date: Mon, 25 Aug 2014 22:39:39 -0400 (EDT)

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

> 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
Received on Tue Aug 26 2014 - 02:39:39 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:18 UTC