From: "Laurent Bercot" <ska-supervision@skarnet.org>
To: "billa chaitanya" <billachaitanya@gmail.com>,
supervision@list.skarnet.org
Subject: Re: timer support for s6 services
Date: Wed, 10 Feb 2021 10:55:25 +0000 [thread overview]
Message-ID: <em118e4f0d-bb49-44e0-a5d5-6c2f929732b8@elzian> (raw)
In-Reply-To: <CAH9hU4+SM8Az-KiFizfha4bR5ivdWBZqaLvsMJGE_1Nb9qBTUA@mail.gmail.com>
>Is there a way to set a timer option on a particular service 'X', so that
>'X' gets restarted for every timer seconds ?
You can achieve that with another service that just sleeps for
'timer' seconds then sends a s6-svc -r command to the service you want
restarted.
--
Laurent
next prev parent reply other threads:[~2021-02-10 10:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-10 8:16 billa chaitanya
2021-02-10 10:55 ` Laurent Bercot [this message]
2021-02-10 17:37 ` billa chaitanya
2021-02-11 8:22 ` Chris Brannon
2021-02-11 12:28 ` linuxer
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=em118e4f0d-bb49-44e0-a5d5-6c2f929732b8@elzian \
--to=ska-supervision@skarnet.org \
--cc=billachaitanya@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).