Hello guys, recently i go to runit and i am trying to create a service which related with systemd timers.target. Which tool can i use to complete my service?
AFAIK, timers is a flashy reinvention of the wheel by systemd in its way to absorb more and more standard UNIX tools functionality into itself. This means, you only need a crond implementation and the appropriate -runit service for it. Unless you were asking something else I didn't understand.
@nous is correct.
But, besides cronjobs, you may would like to use snooze (https://github.com/leahneukirchen/snooze) which is more or less like timers from AUR (https://aur.archlinux.org/packages/snooze-git)
Please note, that we are not supporting AUR packages, so for any further info/question/trouble, make an issue at the project's (https://github.com/leahneukirchen/snooze) page.
Darn, we should import snooze into our repos, yesterday.
snooze looks...interesting. And it appeals on a level with my own projects (Since I "do" runit...). The problem is, unless you're using runit or s6 in some capacity I can't see how you'd use it. OpenRC's not really...supervision.
OpenRC does have supervision, just not enabled by default. For an example, see /etc/init.d/mariadb-supervise from mariadb-openrc.
Ah I know who is the dev of that; he is a maintainer/dev at Voidlinux. He wrote/writes other stuff and they worked well
What
@MadScientist42 mentioned is correct.
OpenRC does not offer processes supervising the way that Runit or s6 do, Runit and s6 supervisors all processes straight forward, versus OpenRC where the supervisor is still experimental (https://wiki.gentoo.org/wiki/OpenRC/supervise-daemon)
Snooze has been added in community (galaxy) repo.
I am closing this issue.