Re: No DOWN file support in runit?

From: Colin Booth <>
Date: Sat, 13 Feb 2016 10:24:42 -0800

On Feb 13, 2016 10:18 AM, "Steve Litt" <> wrote:
> Hi all,
> I've been using runit for about 4 months now, and a few days ago I
> tried to disable a service by placing a file called DOWN in its
> directory (like you would with s6 or daemontools). However, the service
> kept coming up at boot.
> What's the idiomatic way to prevent a runit service from starting at
> boot? I hope the answer isn't to unlink it.
You're doing something wrong since a down file is the correct way to do it.
It is case sensitive (like all things unix) so check that. Also, the down
file only affects the initial state of runsv (again identical to the
behavior of supervise and s6-supervise) so if you're putting the file in
place after runsvdir has spawned runsv, you'll need to issue an 'sv d' in
order to bring the service down.

Received on Sat Feb 13 2016 - 18:24:42 UTC

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