>>44887>there isn't 1 directoryI was talking about the directory where your services (shell scripts executed by runit) are actually located, not counting where they are symlinked to in order to enable them.
Systemd has /usr/lib/systemd/system/ for system services installed by packages, /usr/lib/systemd/user/ for user services installed by packages, system and user dirs in /etc/systemd/ for the same but written/installed manually by the user, and paths in your home for user services
System Unit Search Path
/etc/systemd/system.control/*
/run/systemd/system.control/*
/run/systemd/transient/*
/run/systemd/generator.early/*
/etc/systemd/system/*
/etc/systemd/system.attached/*
/run/systemd/system/*
/run/systemd/system.attached/*
/run/systemd/generator/*
…
/usr/local/lib/systemd/system/*
/usr/lib/systemd/system/*
/run/systemd/generator.late/*
User Unit Search Path
~/.config/systemd/user.control/*
$XDG_RUNTIME_DIR/systemd/user.control/*
$XDG_RUNTIME_DIR/systemd/transient/*
$XDG_RUNTIME_DIR/systemd/generator.early/*
~/.config/systemd/user/*
$XDG_CONFIG_DIRS/systemd/user/*
/etc/systemd/user/*
$XDG_RUNTIME_DIR/systemd/user/*
/run/systemd/user/*
$XDG_RUNTIME_DIR/systemd/generator/*
$XDG_DATA_HOME/systemd/user/*
$XDG_DATA_DIRS/systemd/user/*
…
/usr/local/lib/systemd/user/*
/usr/lib/systemd/user/*
$XDG_RUNTIME_DIR/systemd/generator.late/*
>why do i need to use themyou don't, the only things you actually need are logind (replaced by elogind), the init (replaced by whatever else), and maybe udev.
Some of that works fine on other init systems, gentoo's default is to use udev from systemd-utils even on openrc systems.
>user service managed by elogindcan runit not handle user daemons??
>who said you have to write your own services for runitI said so, because 99% of software that comes with service units, only has pre-written ones for systemd. Its up to you or to your distro maintainers to write them for other init systems, so if you're installing software that isn't in the main repos, good luck!
>systemd's own syntaxits literally ini, you don't even need to be familiar with it, and half of it is just shell crap (env vars, commands, etc) anyway.