A new user interface for you! Read more...

File zramswap.service of Package systemd-zram-service

# /lib/systemd/system/zramswap.service
#
# Copyright (c) 2012 Malcolm J Lewis <malcolmlewis@opensuse.org>
#

[Unit]
Description=Service enabling compressing RAM with zRam
After=multi-user.target

[Service]
Type=oneshot
ExecStart=/usr/sbin/zramswapon
ExecStop=/usr/sbin/zramswapoff
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target