You are not logged in.
Pages: 1
maybe self plug but, for anyone that wants to use zram in their install i prepared a repo with a service script that does the job, all it needs is zramctl which is part of the util-linux package.
github: https://github.com/eylles/zram-service
gitlab: https://gitlab.com/eylles/zram-service
codeberg: https://codeberg.org/eylles/zram-service
not sure if submitting that to debian or straight up go and try to get it into devuan?
edit: anyone who wants to help adding proper support for openrc and runit?
Last edited by EDX-0 (2022-01-14 08:29:47)
Online
id say submit it to devuan first as a .deb
debian already has zram-tools with the required systemd service files.
https://packages.debian.org/bullseye/al … s/filelist
there is also this on the wiki in below link buts its self setup.
Last edited by hevidevi (2022-01-14 07:57:33)
Offline
yeh, i know about the wiki entry, in my opinion using perl in an initscript for something that can be done with a simple awk command is rather dumb
for the script in the repo i added a couple extra facilites like restarting and status along loading a config file, u know to facilitate things a little for the folks that do intend to use this.
Online
for the script in the repo i added a couple extra facilites like restarting and status along loading a config file, u know to facilitate things a little for the folks that do intend to use this.
yeah that is why yours is probably a little more user friendly. Anyway, thanks ill give your script a try.
Offline
welp, i'm an airhead so the moment i learn to do something i gotta script it, that way i don't need to remember how it is done lol
Online
not sure if submitting that to debian or straight up go and try to get it into devuan?
Looks like the Debian zram-tools maintainer doesn't care about non-systemd support:
https://bugs.debian.org/cgi-bin/bugrepo … bug=960524
anyone who wants to help adding proper support for openrc and runit?
Devuan's runit will use sysvinit scripts. Search the boards if you want a method for setting up proper supervision with runit, it has been covered here before.
For OpenRC see https://github.com/vaeth/zram-init/blob … /zram-init
Brianna Ghey — Rest In Power
Offline
i found this also if you are interested in looking through it EDX-0, It has some service files for openrc and runit mentioned on the readme.
Not sure if it would port over to devuan as i installed this one on my artixlinux machine that uses openrc init.
https://github.com/atweiden/zramen
Last edited by hevidevi (2022-01-15 07:37:07)
Offline
Pages: 1