supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: sindhu krishnan <sindhu.muthu25@gmail.com>
To: supervision@list.skarnet.org
Subject: Service started at bootup Though empty down file created
Date: Thu, 28 Jan 2021 09:50:28 +0530	[thread overview]
Message-ID: <CAAJ7f9Dbc-hKHXtUWUq5==xzQbemHeJJx7t+vvKQUVZVETWdFw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

Hi,
I have "A" service which should not start at bootup. It will be started by
other service(using  s6-svc -u ).
I have added the "A" service in s6 bundle and created the empty down file
in service directory to consider the service as down until it is started by
other service. But in my case, Though I have a empty down file in "A"
service directory, It is started at bootup.

I have taken the below as reference and implemented. Can you please let me
know, what is the problem here.

An optional, empty, regular file named down. If such a file exists, the
default state of the service is considered down, not up: s6-supervise will
not automatically start it until it receives a s6-svc -u command. If
no down file
exists, the default state of the service is up

Thanks.

             reply	other threads:[~2021-01-28  4:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-28  4:20 sindhu krishnan [this message]
2021-01-28  5:13 ` Colin Booth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAJ7f9Dbc-hKHXtUWUq5==xzQbemHeJJx7t+vvKQUVZVETWdFw@mail.gmail.com' \
    --to=sindhu.muthu25@gmail.com \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).