Skip to content

Instantly share code, notes, and snippets.

View danilkuznetsov's full-sized avatar

Danil Kuznetsov danilkuznetsov

View GitHub Profile
@danilkuznetsov
danilkuznetsov / Enable autostart zram service in Fedora
Last active January 13, 2017 06:39
quick enable auto start zram.service in Fedora 23 (dirty hack)
### how to enable on boot zram.service in Fedora 23 and later ?
just add [Install] section in zram.service.
example unit file above.
command for edit sudo systemctl edit --full zram.service
p.s.
if you have 2 GB of RAM or more, you may want to change the value of MAX_RAM_ON in /usr/libexec/anaconda/zramswapon
zram.service file: