Hi.
On Sun, Sep 28, 2025 at 05:54:02PM -0400, Steve Litt wrote:
> https://troubleshooters.com/linux/init/normal_user_runit.htm
Some notes:
- You don't need `svl` script - just set $SVDIR in user's shell (e.g. ~/.bashrc).
- As you value simlicity you can run `fetchmail` using cron instead of runit.
- Runlevels are not an "antique". Some user services (like your fetchmail)
does not depend on GUI and should run even without X, others need GUI.
And the easiest way to get this is to have two runlevels "x" and "no_x" plus
"current" symlink pointing to one of them depending on is X running or not.
- It's much more reliable to run user's `runsvdir` as a system-wide service.
If user does not have a root access and can't setup this then use cron
with a `chpst -L` to ensure only run `runsvdir` will be running.
--
WBR, Alex.
Received on Mon Sep 29 2025 - 21:40:35 CEST