Using runit as Init on Artix Linux Without systemd
Control Artix Linux services with sv and runsvdir, manage logs without systemd-journald, and check package compatibility before installing.
20 Sept 2025, 21:33 UTC

Start with the service, not the init debate
You boot Artix Linux with runit and try to restart a service the way you did on a systemd distribution. `systemctl` is missing. The immediate question is not whether runit is better; it is how to start, stop, and inspect services without it, and whether your packages will work.
Takeaway: Artix keeps Arch's pacman repositories and rolling-release model while replacing systemd with runit. Service control happens through `sv`, supervised by `runsvdir`, with definitions under `/etc/sv`. Desktop sessions usually need `elogind` or `seatd` instead of systemd-logind.
Service control with sv and runsvdir
On Artix runit, `runsvdir` reads service directories and starts a `runsv` process for each one. If a supervised process crashes, runit restarts it automatically. This differs from systemd's unit files and `systemctl` verbs.
Run these commands as root, or prefix with `sudo`. Replace `` with the service name.
- `sv status ` — reports whether the service is running or down.
- `sv start ` — starts a supervised service.
- `sv stop ` — stops it.
- `sv restart ` — stops and starts it.
- `sv down ` — stops the service and prevents automatic restart until you run `sv up`.
Expected check: `sv status` prints a line beginning with `run:` for active services or `down:` for stopped ones. If you see `fail:` or no output, the service definition may be missing or the run script may be exiting immediately.
Risk: enabling a service that owns a port already used by another init system can cause binding failures. Check what is listening before enabling network services.
Service definitions and logging
Service definitions live in `/etc/sv//`. Each directory typically contains a `run` script that starts the program in the foreground, and optionally a `log` script that sends output to a logger such as `svlogd`.
To enable a service, create a symbolic link from `/etc/sv/` into the runsvdir scan directory, usually `/etc/runit/runsvdir/default/`.
# Run as root
ln -s /etc/sv/sshd /etc/runit/runsvdir/default/
To disable, stop the service and remove the symlink:
# Run as root
sv down sshd
rm /etc/runit/runsvdir/default/sshd
If you write a custom service, make the scripts executable:
# Run as root
chmod +x /etc/sv/my-service/run /etc/sv/my-service/log
Expected check: after enabling, `sv status my-service` should show `run:` and the process should remain running after you close the shell.
Worked example: enabling SSH
Install the OpenSSH package from the Artix repositories, then enable its runit service if one is provided.
# Run as root
pacman -S openssh
ln -s /etc/sv/sshd /etc/runit/runsvdir/default/
sv status sshd
If `/etc/sv/sshd` does not exist after installation, the package may not ship a runit service directory. Check the package contents or look for an OpenRC variant before creating one manually. Do not assume an Arch systemd unit file will work under runit.
Session management and package trade-offs
Without systemd, Artix does not provide systemd-logind by default. Desktop users typically install `elogind` or `seatd` to handle seats and sessions. Confirm your display manager and desktop environment work without systemd-logind before relying on a graphical desktop.
Package compatibility is generally strong because Artix repackages Arch packages and offers systemd-free alternatives. However, some AUR packages and PKGBUILDs assume systemd units. Those units cannot be consumed directly by runit or OpenRC. You may need to patch the package, write a runit service directory, or avoid the package.
| Task | systemd | Artix runit |
|---|---|---|
| List services | `systemctl list-units` | `ls /etc/sv` and `sv status` |
| Enable service | `systemctl enable` | Symlink into `/etc/runit/runsvdir/default/` |
| View logs | `journalctl` | Service log scripts and `/var/log` |
| Session manager | systemd-logind | elogind or seatd |
Limitation and verification
Artix is rolling, so package names, init defaults, and hardware enablement can change between snapshots. A service directory that exists today may move or be renamed in a future update.
Practical check: boot the current Artix runit ISO in a virtual machine, run `sv status` after installation, inspect `/etc/sv`, and confirm your desktop session starts with `elogind` if you use one. Test package installations in the VM before applying them to bare metal.
What to do next
Run `sv status` on your installed Artix system to see which services are supervised. Check `/etc/sv` for available definitions. If you need a desktop, install `elogind` and verify your display manager starts. For any AUR package, inspect its PKGBUILD for systemd unit files before building.