How to implement systemd's one-shot services with runit?

This page summarizes the projects mentioned and recommended in the original post on /r/voidlinux

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • void-runit

    runit init scripts for Void

  • void-packages

    The Void source packages collection

  • Oneshot services are done by pausing the service after the executable invoked. See alsa as an example.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • snooze

    run a command at a particular time (by leahneukirchen)

  • I'll rather use something like snooze to create runit services for each timed job, which integrates well into supervision/runit and I can use runits logging mechanism. I can use sv to send signals to a running job or to the snooze process to immediately start the job with SIGALRM. I will have features like time files, which allow me to do things like "run the job every 5 minutes, after the job finished" or "once a day" while remembering state between reboots.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts