Re: timer support for s6 services

2021-02-11 Thread linuxer

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






Re: timer support for s6 services

2021-02-11 Thread Chris Brannon
billa chaitanya  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


Re: timer support for s6 services

2021-02-10 Thread billa chaitanya
Thanks, I'll check it out.

On Wed, Feb 10, 2021, 4:25 PM Laurent Bercot 
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
>
>


Re: timer support for s6 services

2021-02-10 Thread Laurent Bercot

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



timer support for s6 services

2021-02-10 Thread billa chaitanya
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