supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* timer support for s6 services
@ 2021-02-10  8:16 billa chaitanya
  2021-02-10 10:55 ` Laurent Bercot
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: billa chaitanya @ 2021-02-10  8:16 UTC (permalink / raw)
  To: supervision

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

Hi Team,

Is there a way to set a timer option on a particular service 'X', so that
'X' gets restarted for every timer seconds ?

Thanks,
Chaitanya

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: timer support for s6 services
  2021-02-10  8:16 timer support for s6 services billa chaitanya
@ 2021-02-10 10:55 ` Laurent Bercot
  2021-02-10 17:37   ` billa chaitanya
  2021-02-11  8:22 ` Chris Brannon
  2021-02-11 12:28 ` linuxer
  2 siblings, 1 reply; 5+ messages in thread
From: Laurent Bercot @ 2021-02-10 10:55 UTC (permalink / raw)
  To: billa chaitanya, supervision

>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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: timer support for s6 services
  2021-02-10 10:55 ` Laurent Bercot
@ 2021-02-10 17:37   ` billa chaitanya
  0 siblings, 0 replies; 5+ messages in thread
From: billa chaitanya @ 2021-02-10 17:37 UTC (permalink / raw)
  To: Laurent Bercot; +Cc: supervision

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

Thanks, I'll check it out.

On Wed, Feb 10, 2021, 4:25 PM Laurent Bercot <ska-supervision@skarnet.org>
wrote:

> >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
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: timer support for s6 services
  2021-02-10  8:16 timer support for s6 services billa chaitanya
  2021-02-10 10:55 ` Laurent Bercot
@ 2021-02-11  8:22 ` Chris Brannon
  2021-02-11 12:28 ` linuxer
  2 siblings, 0 replies; 5+ messages in thread
From: Chris Brannon @ 2021-02-11  8:22 UTC (permalink / raw)
  To: supervision

billa chaitanya <billachaitanya@gmail.com> writes:

> Hi Team,
>
> Is there a way to set a timer option on a particular service 'X', so that
> 'X' gets restarted for every timer seconds ?

Maybe snooze could work for your use case?
https://github.com/leahneukirchen/snooze

-- Chris

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: timer support for s6 services
  2021-02-10  8:16 timer support for s6 services billa chaitanya
  2021-02-10 10:55 ` Laurent Bercot
  2021-02-11  8:22 ` Chris Brannon
@ 2021-02-11 12:28 ` linuxer
  2 siblings, 0 replies; 5+ messages in thread
From: linuxer @ 2021-02-11 12:28 UTC (permalink / raw)
  To: supervision

Hi people.

We, on Artix Linux, provide snooze an available package in our 
repositories, so the  users can have an alternative to systemd timers.

Therefor, I would suggest you, to try it.

Linuxer

On 10/2/21 10:16 π.μ., billa chaitanya wrote:
> Hi Team,
>
> Is there a way to set a timer option on a particular service 'X', so that
> 'X' gets restarted for every timer seconds ?
>
> Thanks,
> Chaitanya
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-11 12:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-10  8:16 timer support for s6 services billa chaitanya
2021-02-10 10:55 ` Laurent Bercot
2021-02-10 17:37   ` billa chaitanya
2021-02-11  8:22 ` Chris Brannon
2021-02-11 12:28 ` linuxer

supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/supervision

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 supervision supervision/ http://inbox.vuxu.org/supervision \
		subscribe@list.skarnet.org
	public-inbox-index supervision

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.supervision.general


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git