From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28133 invoked from network); 21 Oct 2020 10:10:51 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 21 Oct 2020 10:10:51 -0000 Received: (qmail 26530 invoked by uid 89); 21 Oct 2020 10:11:14 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 26523 invoked from network); 21 Oct 2020 10:11:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=abxGQv3P8f/AaYM914ZDnqMFaUJusAd3mlReNi8PHU4=; b=rDjlRmxtWzSgH1U+aHqyL+H3echjSc/Mie/CsIZqsssXyCULuSJ8H4jMp8O96RdaWS VH7LRzm4mlfJfIq9hRYDvP59iqWWIjrX25BwORYyKXeovJnwB09h/B4dVC5axoJaPFsE T6nGjcHt8bTUWto3GRZ1WDEhXSHJRvEJIrQkXnfNs3scHVJS9n6EC6ETL+eodiUUp2ep o0YrRwslRCs7X6L71cBJHenaAJ32Vy3mYAwnPnyct3brPtguaraTfzGjI1VkjFLJhJnj 0mQEoiQw5BDm8JSJKvLh9TD1oevyj0dMqQ0MlxYfpexCK8ltU05WmRytGOdEMAwnN6Kh mL4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=abxGQv3P8f/AaYM914ZDnqMFaUJusAd3mlReNi8PHU4=; b=YgL9UauUrla+M+MDrgQD/LqYH5AESO7Wu/scXaO7nSKjCOJNgT29fLhVT774dR1pJW IoGJX6ZcPS0uAzdIE8jip5M0YbGKdKi8OVZQj0UpCBeQZrgnfrpckAqZH4Xz19hnEsNE Ybd3ys3dKeA9F9B3gm7MYi/UoWSeZd87dLjw4tlbBmnpCojgk/bDW9oRJJNJsBXInTlf t3UMiPLIHWpPLAFCyLIloiaHSgffklOz/vZwIicfRrq6CJcoH6iWxX0NnmdWJu3RZh3M Ibdpi/nqt/kw3jp0Sy2DQm7hPsefjxQTSEx/wU7MwBh3sqFoghZt4qUHhJOg6wxufHKN PK3g== X-Gm-Message-State: AOAM531c5KIzqlKiJsD1s8kAE7yYnt3e6jP+EEkOgJAzdg8o042xqGE8 p7CxENnG44a6ysjo3iFFwz3MTy7FRqQG0SrIUT1oSwGq X-Google-Smtp-Source: ABdhPJwynpfFCgPHiI25VHgj0n5nyqmvRXPUV/oJiD3zPFu7iIhyr9mAGwGhngVudumqcVNl6taXJSkLbNeLZemT1j0= X-Received: by 2002:a67:ef1b:: with SMTP id j27mr1018161vsr.1.1603275045863; Wed, 21 Oct 2020 03:10:45 -0700 (PDT) MIME-Version: 1.0 From: Amaresh Kotekal Date: Wed, 21 Oct 2020 15:40:33 +0530 Message-ID: Subject: Dependencies in S6 To: supervision@list.skarnet.org Content-Type: multipart/alternative; boundary="00000000000096069505b22b8f8d" --00000000000096069505b22b8f8d Content-Type: text/plain; charset="UTF-8" Hi Team, I have some doubt on dependencies file in S6. Secnario 1: 1. A & B are one shot services in a s6-rc bundle. Service B is dependent on A. ( added in dependency file). 2. I think Service B will start after the completion of service A ( A then B, in serial manner ) is it correct ? or 3. Service B will start immediately after the service A as started (in a parallel manner) ? Secnario 2: 1. A is one shot service and B is a long run service. Service B is dependent on Service A. 2. Service B will start, once th service A as completed (in serial manner) ? or 3. Service B will start immediately after the service A as started (in a parallel manner) ? Secnario 3: 1. A is a long run service and B is a one shot service. Service B is dependent on Service A. 2. Service B will start immediately after the service A as started (in a parallel manner) ? 3. Do I need to use notification mechanism if I want to start service B after A service as reached particular point in execution Secnario 4: 1. A & B both are long run services. Service B is dependent on Service A. 2. Service B will start immediately after the service A as started (in a parallel manner) ? If one shot service are dependent on other one shot services. They will be started in serial manner one after the other ? Regards, Amaresh --00000000000096069505b22b8f8d--