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: has anyone gotten nosh to build on Void Linux?

2018-06-30 Thread Chris Brannon
Guillermo  writes:

> Hi,
>
> The nosh-1.37 source package? If you unpacked the source tarball in a
> directory named 'nosh-1.37', you have a 'source' and a 'package'
> subdirectory, you ran package/compile, but it *did not* create a
> subdirectory named 'build', then, as people have said, most likely you
> don't have an implementation of pax(1) installed. It is a
> POSIX-specified utility, but on most [GNU/]Linux distributions you
> have to manually install some package to get it. I believe on Void
> that would be the 'pax' package.

Sorry, I didn't have time to reply, but I made a good deal of progress
earlier today, after writing to the list.

Yes that is correct; pax was one of the things I was missing.  I was
also missing libuuid-devel.  I needed to change the header paths for
ncurses headers in the source.  I also needed to fine libtinfo, because
Void doesn't have it.  Void could probably have libtinfo provided by
their curses package with a fairly straightforward change.
I figured out how to get libtinfo from ncurses by looking at the Arch
PKGBUILD for ncurses.

> would also help to know what the ID and VERSION_ID fields of Void's
> /etc/os-release look like. I believe the former is 'void', and the
> latter is absent, correct?

That's right.

> It would be interesting to see what is needed for different OSes to
> make nosh build. If you do try again, please report :)

Indeed.  Ideally, I'll eventually end up with a package script for
Void -- known as a "template" in Void parlance.  I'll keep working on
that until it's written.

> Hope that helps,

Thank you.

-- Chris


Re: Arch Linux derivative using s6?

2015-04-19 Thread Chris Brannon
John Regan j...@jrjrtech.com writes:

 It's not quite the same, but I think Alpine linux is pretty close to
 what you're looking for. They'd probably love to get more people
 involved, writing documentation, making packages, etc.

Yes, I'm familiar with Alpine.  It's a great distro in the minimalist
spirit.  I use it for some things locally.  Maybe it is a better use of
my time to contribute to it, rather than going off and doing my own
thing.  I still haven't completely made up my mind on that.

-- Chris