Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] zramd on runit? (Read 2108 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] zramd on runit?

Hello,
I tried installing zramd through AUR, but when I tried to start it with "sv up zramd" I realized there's no such service in /etc/runit/sv
Am I doing something wrong or is zramd a systemd only package?
Is there an alternative for runit and OpenRC?

Re: zramd on runit?

Reply #1
We support no packages from AUR generally, but in our Universe repo we have zramen ,
How to start zramd you can read in  in https://github.com/maximumadmin/zramd in section "Manual installation on any distribution without systemd".
So the answer is: No, it's not onyl systemd stuff.

Re: zramd on runit?

Reply #2
I tried to add
Code: [Select]
[universe]
Server = https://universe.artixlinux.org/$arch
to pacman.conf but now I get an error when updating:
Code: [Select]
error: failed to commit transaction (conflicting files)
plasma-workspace: /usr/share/locale/ta/LC_MESSAGES/kcm_autostart.mo exists in filesystem (owned by plasma-desktop)

Re: zramd on runit?

Reply #3
I tried to add
Code: [Select]
[universe]
Server = https://universe.artixlinux.org/$arch
to pacman.conf but now I get an error when updating:
Code: [Select]
error: failed to commit transaction (conflicting files)
plasma-workspace: /usr/share/locale/ta/LC_MESSAGES/kcm_autostart.mo exists in filesystem (owned by plasma-desktop)


try,

Code: [Select]
$sudo pacman -Syyu --overwrite

 

Re: zramd on runit?

Reply #4
try,

Code: [Select]
$sudo pacman -Syyu --overwrite
Oh, I deleted the file with rm -rf /usr/share/locale/ta/LC_MESSAGES/kcm_autostart.mo
I installed zramen from universe repo, but don't know how to make it autostart with the system.

Re: zramd on runit?

Reply #5
Oh, I deleted the file with rm -rf /usr/share/locale/ta/LC_MESSAGES/kcm_autostart.mo
I installed zramen from universe repo, but don't know how to make it autostart with the system.

You also need zramen-runit. After installation, follow Artix runit wiki. Runit might be the simplest init system on earth.

Re: zramd on runit?

Reply #6
You also need zramen-runit. After installation, follow Artix runit wiki. Runit might be the simplest init system on earth.
I installed zramen-runit and enabled the service with:
ln -s /etc/runit/sv/zramen /run/runit/zramen
tried "sv up zramen" but I get file does not exist
I must be doing something wrong.
I guess zramen should be configured but I don't see any instructions on how to do it.

Re: zramd on runit?

Reply #7
should be
Code: [Select]
$sudo ln -s /etc/runit/sv/zramen /run/runit/service/


Re: zramd on runit?

Reply #9
It's availability was announced at this post

Have fun